void OnTriggerEnter(Collider other) { if (other.tag == "GameOver") { output = "遊戲結束"; } }