HealthPool Class

Summary

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

Syntax

[AddComponentMenu(Strings.ExamplesMenuPrefix + "Interruptions - Health Pool")]
[HelpURL(Strings.DocsURLs.ExampleAPIDocumentation + nameof(StateMachines) + "/" + nameof(HealthPool))]
public sealed class HealthPool : MonoBehaviour, IInteractable

Examples

Interruptions

Attributes

Type Description
AddComponentMenu
HelpURLAttribute

Events

Name Type Summary
OnHitReceived Action

Methods

Name Value Summary
Interact() void