Class EntityHealthChangedGameEvent
- Namespace
- ElectricDrill.AstraHealth.Events
- Assembly
- com.electricdrill.astra-health.Runtime.dll
Event raised when an entity's health changes (gained or lost). Payload: EntityHealthChangedContext.
[CreateAssetMenu(fileName = "EntityHealthChanged Game Event", menuName = "Astra Health/Events/Generated (Health)/EntityHealthChanged")]
public class EntityHealthChangedGameEvent : GameEventGeneric1<EntityHealthChangedContext>, IRaisable<EntityHealthChangedContext>
- Inheritance
-
objectGameEventBase<GameEventListenerGeneric1<EntityHealthChangedContext>, Action<EntityHealthChangedContext>>GameEventGeneric1<EntityHealthChangedContext>EntityHealthChangedGameEvent
- Implements
-
IRaisable<EntityHealthChangedContext>
- Inherited Members
-
GameEventGeneric1<EntityHealthChangedContext>.OnEventRaisedGameEventGeneric1<EntityHealthChangedContext>.Raise(EntityHealthChangedContext)GameEventGeneric1<EntityHealthChangedContext>.RegisterListener(GameEventListenerGeneric1<EntityHealthChangedContext>)GameEventGeneric1<EntityHealthChangedContext>.UnregisterListener(GameEventListenerGeneric1<EntityHealthChangedContext>)GameEventBase<GameEventListenerGeneric1<EntityHealthChangedContext>, Action<EntityHealthChangedContext>>.RegisterMonoListener(GameEventListenerGeneric1<EntityHealthChangedContext>)GameEventBase<GameEventListenerGeneric1<EntityHealthChangedContext>, Action<EntityHealthChangedContext>>.UnregisterMonoListener(GameEventListenerGeneric1<EntityHealthChangedContext>)GameEventBase<GameEventListenerGeneric1<EntityHealthChangedContext>, Action<EntityHealthChangedContext>>.RegisterCodeListener(Action<EntityHealthChangedContext>)GameEventBase<GameEventListenerGeneric1<EntityHealthChangedContext>, Action<EntityHealthChangedContext>>.UnregisterCodeListener(Action<EntityHealthChangedContext>)GameEventBase<GameEventListenerGeneric1<EntityHealthChangedContext>, Action<EntityHealthChangedContext>>.Dispatch<TInvoker>(TInvoker)