Class ResurrectEntityIHasEntityGameActionSO
- Assembly
- com.electricdrill.astra-health.Runtime.dll
A game action used to resurrect an entity. Can be configured to resurrect with either a percentage of max HP or a flat HP amount. Provided as a ScriptableObject for easy assignment in the editor.
Connect to any GameEventListener whose payload implements ElectricDrill.AstraRpgFramework.Contexts.IHasEntity,
such as EntityDiedGameEventListener, EntityResurrectedGameEventListener, or
directly from an EntityHealth reference.
[CreateAssetMenu(fileName = "Resurrect Game Action", menuName = "Astra Health/Game Actions/Context: Entity/Resurrect")]
public class ResurrectEntityIHasEntityGameActionSO : ResurrectEntityGameActionSO<IHasEntity>, IExecutable<IHasEntity>, ITaggable
- Inheritance
-
objectGameActionBaseGameAction<IHasEntity>ResurrectEntityGameActionSO<IHasEntity>ResurrectEntityIHasEntityGameActionSO
- Implements
-
IExecutable<IHasEntity>ITaggable
- Inherited Members
-
GameAction<IHasEntity>.TagsGameAction<IHasEntity>.DisplayNameGameAction<IHasEntity>.ExecuteAsyncForUnityEvent(IHasEntity)GameAction<IHasEntity>.OnOperationCanceled()