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