void OnTriggerStay2D(Collider2D col)
 {
     if (OnTriggerStay2DEvent != null)
     {
         OnTriggerStay2DEvent.Invoke(col);
     }
 }
 private void OnTriggerStay2D(Collider2D other)
 {
     onTriggerStay.Invoke(collider, other);
 }
 private void OnTriggerExit2D(Collider2D other)
 {
     onTriggerExit.Invoke(collider, other);
 }
Example #4
0
 private void OnTriggerEnter2D(Collider2D other)
 {
     onTrigger2DEnter.Invoke(other);
 }