Ejemplo n.º 1
0
    private void StartAction()
    {
        WKStaticFunction.WKMessageLog("Start on Click");

        AppRuntime appRuntime = _FSMCaller as AppRuntime;

        appRuntime.SetTransition(TRANSITION.TRANSITION_TO_ARSTATE);
    }
Ejemplo n.º 2
0
    public void PlayVideoAction()
    {
        WKStaticFunction.WKMessageLog("Play Video");

        AppRuntime appRuntime = _FSMCaller as AppRuntime;

        appRuntime.SetTransition(TRANSITION.TRANSITION_TO_VIDEOTUTORIALSTATE);
    }
Ejemplo n.º 3
0
 public override void Update()
 {
     if (Input.GetKeyUp(KeyCode.Escape))
     {
         AppRuntime appRuntime = _FSMCaller as AppRuntime;
         appRuntime.SetTransition(TRANSITION.TRANSITION_TO_ARSTATE);
     }
     base.Update();
 }
Ejemplo n.º 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();
    }
Ejemplo n.º 5
0
    private void TransitionRegisterState()
    {
        AppRuntime appRuntime = _FSMCaller as AppRuntime;

        appRuntime.SetTransition(Transition.TRANSITION_TO_REGISTER);
    }