internal void OnDeath(BehaviorEventArgs e) { if (Death != null) Death(this, e); if (Parent != null) Parent.OnDeath(e); }
internal void OnDeath(BehaviorEventArgs e) { if (Death != null) { Death(this, e); } if (Parent != null) { Parent.OnDeath(e); } }
internal void OnDeath(BehaviorEventArgs e) { Death?.Invoke(this, e); Parent?.OnDeath(e); }