public override void OnExit(Phenix.Unity.AI.WorldState ws) { if (_eventAttack != null) { _eventAttack.Release(); _eventAttack = null; } base.OnExit(ws); }
public override void OnExit(Phenix.Unity.AI.WorldState ws) { Agent.BlackBoard.invulnerable = false; if (_eventInjury != null) { _eventInjury.Release(); _eventInjury = null; } if (_eventDeath != null) { _eventDeath.Release(); _eventDeath = null; } if (_eventAttack != null) { _eventAttack.Release(); _eventAttack = null; } base.OnExit(ws); }