private void OnTriggerExit(Collider other)
 {
     if (ExitedTrigger != null)
     {
         ExitedTrigger.Invoke(this, new ColliderWithTriggerEventArgs(other.gameObject));
     }
 }
Esempio n. 2
0
 void OnTriggerExit2D(Collider2D other)
 {
     ExitedTrigger?.Invoke(other);
 }