コード例 #1
0
 void OnTriggerStay2D(Collider2D collider)
 {
     OnColliderTriggered?.Invoke(this, new ColliderTriggeredEventArgs(collider));
 }
コード例 #2
0
 private void OnTriggerEnter2D(Collider2D collider)
 {
     OnColliderTriggered?.Invoke(this, new ColliderTriggeredEventArgs(collider));
 }