HealthPool Class

Summary

Manages a character's health and damage received.
Assembly
Animancer.dll
Namespace
Animancer.Samples.StateMachines
Interfaces
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type-.->Interface0["IInteractable"] click Interface0 "/animancer/api/Animancer.Samples.FineControl/IInteractable" Type["HealthPool"] class Type type-node

Syntax

[AddComponentMenu(Strings.SamplesMenuPrefix + "Interruptions - Health Pool")]
[AnimancerHelpUrl(typeof(HealthPool))]
public class HealthPool : MonoBehaviour, IInteractable

Remarks

Sample: Interruptions

Attributes

Type Description
AddComponentMenu
AnimancerHelpUrlAttribute [Assert-Conditional] A UnityEngine.HelpURLAttribute which points to Animancer's documentation.

Events

Name Type Summary
OnHitReceived Action

Methods

Name Value Summary
Interact() void