示例#1
0
 void OnTriggerEnter(Collider other)
 {
     Debug.Log("Trigger Entered");
     if (other.gameObject.name == "Player")
     {
         Debug.Log("Triggered level change");
         manager.ChangeLevel();
     }
 }