void OnTriggerEnter(Collider other) { if (!player.IsOnBoat) { showingGetInBoat = true; Jyx2InteractiveButton.Show("上船", GetInBoat); } }
//上船 public void GetInBoat() { player.GetInBoat(this); showingGetInBoat = false; Jyx2InteractiveButton.Show("上岸", GetOutBoat); }