Inheritance: MonoBehaviour
Ejemplo n.º 1
0
 void OnTriggerExit(Collider col)
 {
     if (CollidePlayer(col))
     {
         CoconutThrower.CannotThrow();
     }
 }
Ejemplo n.º 2
0
 void OnTriggerEnter(Collider col)
 {
     if (CollidePlayer(col))
     {
         CoconutThrower.CanThrow();
         CoconutWin.CheckAndHints();
     }
 }