예제 #1
0
 private void OnEnable()
 {
     m_PlayerCollider.AddOnTiggerEnterListener(TriggerDetected);
 }
예제 #2
0
 void OnEnable()
 {
     m_Collider.AddOnTiggerEnterListener(CollisionDetected);
 }