public override void DoBeforeEntering()
        {
            MoveCmpt.StopNav();

            MoveCmpt.mTfArrivePos.SetStop(false);
            MoveCmpt.mNavArrivePos.SetStop(true);
        }
        public override void DoBeforeEntering()
        {
            MoveCmpt.StopPos();

            switch (MoveCmpt.mMoveType)
            {
            case MoveType.NavTarget:
                MoveCmpt.mNavTraceTarget.SetStop(false);
                MoveCmpt.mTfTraceTarget.SetStop(true);
                return;

            case MoveType.TfTarget:
                MoveCmpt.mNavTraceTarget.SetStop(true);
                MoveCmpt.mTfTraceTarget.SetStop(false);
                return;
            }
        }
示例#3
0
        public override void DoBeforeEntering()
        {
            MoveCmpt.StopTrace();

            //todo set move pos of component

            switch (MoveCmpt.mMoveType)
            {
            case MoveType.NavPos:
                MoveCmpt.mNavArrivePos.SetStop(false);
                MoveCmpt.mTfArrivePos.SetStop(true);
                return;

            case MoveType.TfPos:
                MoveCmpt.mNavArrivePos.SetStop(true);
                MoveCmpt.mTfArrivePos.SetStop(false);
                return;
            }
        }
示例#4
0
 public override void DoBeforeEntering()
 {
     LogDC.LogEx("to move idle");
     MoveCmpt.Move(MoveType.Idle);
 }