Beispiel #1
0
 //角色上船函数
 public void Onboat(BoatController boatController)
 {
     coastController            = null; //离开岸边
     character.transform.parent = boatController.getBoat().transform;
     is_onboat = true;
 }
Beispiel #2
0
 // 上船
 public void getOnBoat(BoatController boatCtrl)
 {
     coastController            = null;
     character.transform.parent = boatCtrl.getBoat().transform;
     onBoat = true;
 }