public virtual void ActionUpdate() { if (RunTimeData.Health <= 0 && !hasInvoke) { OnCharacterDead?.Invoke(); hasInvoke = true; } if (!IsStart) { nowAction.Start(); IsStart = true; } nowAction.Update(); }
public void Death() { deathDelegate.Invoke(); }
public static void CharacterDead(BattleEntities.Character character) { OnCharacterDead?.Invoke(character); }
protected virtual void CallOnCharacterDead() { OnCharacterDead?.Invoke(this); }