示例#1
0
    private void StartAction()
    {
        WKStaticFunction.WKMessageLog("Start on Click");

        AppRuntime appRuntime = _FSMCaller as AppRuntime;

        appRuntime.SetTransition(TRANSITION.TRANSITION_TO_ARSTATE);
    }
示例#2
0
    public void PlayVideoAction()
    {
        WKStaticFunction.WKMessageLog("Play Video");

        AppRuntime appRuntime = _FSMCaller as AppRuntime;

        appRuntime.SetTransition(TRANSITION.TRANSITION_TO_VIDEOTUTORIALSTATE);
    }
 public override void Update()
 {
     if (Input.GetKeyUp(KeyCode.Escape))
     {
         AppRuntime appRuntime = _FSMCaller as AppRuntime;
         appRuntime.SetTransition(TRANSITION.TRANSITION_TO_ARSTATE);
     }
     base.Update();
 }
示例#4
0
    public override void Update()
    {
        if (Input.GetKeyUp(KeyCode.Escape))
        {
            AppRuntime appRuntime = _FSMCaller as AppRuntime;
            appRuntime.SetTransition(TRANSITION.TRANSITION_TO_HOMESTATE);
        }

        ARModal arModal = ARModal.Instance();

        arModal.FoundObject();

        base.Update();
    }
示例#5
0
    private void TransitionRegisterState()
    {
        AppRuntime appRuntime = _FSMCaller as AppRuntime;

        appRuntime.SetTransition(Transition.TRANSITION_TO_REGISTER);
    }