예제 #1
0
 public void getOnBoat(BoatController boatCtrl)              //移动到船之后进行和船的绑定
 {
     coastController            = null;
     character.transform.parent = boatCtrl.getGameobj().transform;
     _isOnBoat = true;
 }
예제 #2
0
        public void moveBoat(BoatController boat)
        {
            CCMoveToAction action = CCMoveToAction.GetSSAction(boat.getDestination(), boat.movingSpeed);

            this.RunAction(boat.getGameobj(), action, this);
        }