Beispiel #1
0
 void OnTriggerExit(Collider other)
 {
     if (!player.IsOnBoat)
     {
         showingGetInBoat = false;
         Jyx2InteractiveButton.Hide();
     }
 }
Beispiel #2
0
 //下船
 public void GetOutBoat()
 {
     if (player.GetOutBoat())
     {
         Jyx2InteractiveButton.Hide();
     }
     else
     {
         GameUtil.DisplayPopinfo("此处不能靠岸!");
     }
 }