Пример #1
0
 public void getOnBoat(BoatController boatCtrl)
 {
     coastController            = null;
     character.transform.parent = boatCtrl.getGameobj().transform;
     _isOnBoat = true;
 }
Пример #2
0
 public void moveBoat(BoatController boat)
 {
     MoveToAction action = MoveToAction.getAction(boat.getDestination(), boat.movingSpeed);
     this.addAction(boat.getGameobj(), action, this);
 }