示例#1
0
    public void getOnBoat(boatController boatCtrl, CCActionManager actionManager)
    {
        status = "boat";
        people.transform.parent = boatCtrl.getBoat().transform;
        Vector3         aim        = boatCtrl.getBoatPos(getName());
        CCPeopleMoveing peopleMove = CCPeopleMoveing.GetSSAction(aim);

        actionManager.RunAction(people, peopleMove, null);
    }
示例#2
0
 public void getOnBoat(boatController boatCtrl)
 {
     status = "boat";
     people.transform.parent        = boatCtrl.getBoat().transform;
     people.transform.localPosition = boatCtrl.getBoatPos(getName());
 }