Class CounterDamageOnDeathGameActionSO
- Assembly
- com.electricdrill.astra-health.Runtime.dll
Reacts to an EntityDiedContext event by inflicting configured damage.
Connect to an EntityDiedGameEventListener's UnityEvent response and select
ExecuteAsyncForUnityEvent(EntityDiedContext) as the dynamic invocation target.
Create instances via Assets → Create → Astra Health/Game Actions/Context: EntityDiedContext/Counter Damage.
[CreateAssetMenu(fileName = "Counter Damage On Death Game Action", menuName = "Astra Health/Game Actions/Context: EntityDiedContext/Counter Damage")]
public class CounterDamageOnDeathGameActionSO : CounterDamageGameActionSO<EntityDiedContext>, IExecutable<EntityDiedContext>, ITaggable, IEffectInstigator
- Inheritance
-
objectGameActionBaseGameAction<EntityDiedContext>CounterDamageOnDeathGameActionSO
- Implements
-
IExecutable<EntityDiedContext>ITaggableIEffectInstigator
- Inherited Members
-
GameAction<EntityDiedContext>.TagsGameAction<EntityDiedContext>.DisplayNameGameAction<EntityDiedContext>.ExecuteAsyncForUnityEvent(EntityDiedContext)GameAction<EntityDiedContext>.OnOperationCanceled()