상속: MonoBehaviour
예제 #1
0
 void OnTriggerExit(Collider col)
 {
     if (CollidePlayer(col))
     {
         CoconutThrower.CannotThrow();
     }
 }
예제 #2
0
 void OnTriggerEnter(Collider col)
 {
     if (CollidePlayer(col))
     {
         CoconutThrower.CanThrow();
         CoconutWin.CheckAndHints();
     }
 }