コード例 #1
0
    public void getOffBoat(environmentController envCtrl, CCActionManager actionManager)
    {
        status = "shore";
        people.transform.parent = null;
        Vector3         aim        = envCtrl.getPosVec(size, number);
        CCPeopleMoveing peopleMove = CCPeopleMoveing.GetSSAction(aim);

        actionManager.RunAction(people, peopleMove, null);
    }
コード例 #2
0
    public void reset(environmentController envCtrl, CCActionManager actionManager)
    {
        size   = defaultSize;
        status = "shore";
        people.transform.parent = null;
        CCPeopleMoveing peopleMove = CCPeopleMoveing.GetSSAction(envCtrl.getPosVec(size, number));

        actionManager.RunAction(people, peopleMove, null);
    }
コード例 #3
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);
    }