Exemplo n.º 1
0
 /// <summary>
 /// End Game Trigger
 /// </summary>
 /// <param name="other"> Main Camera being the player </param>
 private void OnTriggerEnter(Collider other)
 {
     if (other.tag == "MainCamera")
     {
         game_manager.End_Game_Call();
     }
 }