コード例 #1
0
 private void DoEnd()
 {
     if (item == Items.End)
     {
         infoText.text = "恭喜你,到达终点!";
         MapsManager mm = GameObject.Find("Map").GetComponent <MapsManager>();
         mm.GameOver();
     }
 }