Exemplo n.º 1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.GetComponentInParent <PlayerController>() != null && !isActive && !hasBeenActivated)
     {
         hasBeenActivated = true;
         checkPointController.ActiveCP(this);
     }
 }