public void On3DAction() { WKStaticFunction.WKMessageLog("Close3D"); ARModal arModal = ARModal.Instance(); arModal.OnClose3D(); }
void OnTargetLost(ImageTargetBaseBehaviour behaviour) { ARModal arModal = ARModal.Instance(); WKStaticFunction.WKMessageLog("Lost " + arModal.GetNameObjectFound + " : " + Target.Id); HideObjects(transform); }
public void PlayVideoAction() { WKStaticFunction.WKMessageLog("Play Video"); AppRuntime appRuntime = _FSMCaller as AppRuntime; appRuntime.SetTransition(TRANSITION.TRANSITION_TO_VIDEOTUTORIALSTATE); }
private void StartAction() { WKStaticFunction.WKMessageLog("Start on Click"); AppRuntime appRuntime = _FSMCaller as AppRuntime; appRuntime.SetTransition(TRANSITION.TRANSITION_TO_ARSTATE); }
public override void OnLeave() { WKStaticFunction.WKMessageLog("Leave ARState"); VideoTutorialModal videoModal = VideoTutorialModal.Instance(); videoModal.CloseModal(); base.OnLeave(); }
public override void OnEnter() { WKStaticFunction.WKMessageLog("Enter VideoState"); VideoTutorialModal videoModal = VideoTutorialModal.Instance(); videoModal.OpenModal(); base.OnEnter(); }
public override void OnEnter() { WKStaticFunction.WKMessageLog("Enter ARState"); ARModal arModal = ARModal.Instance(); arModal.OpenModal(); arModal.OnRegisterModal(PlayVideoAction, On3DAction); base.OnEnter(); }
public override void OnLeave() { WKStaticFunction.WKMessageLog("Leave ARState"); HomeModal homeModal = HomeModal.Instance(); homeModal.CloseModal(); base.OnLeave(); }
public override void OnLeave() { WKStaticFunction.WKMessageLog("Leave ARState"); ARModal arModal = ARModal.Instance(); arModal.UnRegisterModal(); arModal.CloseModal(); base.OnLeave(); }
public override void OnEnter() { WKStaticFunction.WKMessageLog("Enter HomeState"); CreatePlayerModal createPlayer = CreatePlayerModal.Instance(); createPlayer.OpenModal(); //HomeModal homeModal = HomeModal.Instance(); //homeModal.OpenModal(); //homeModal.OnRegisterModal(StartAction); base.OnEnter(); }
public void DeleteTransition(TRANSITION transition) { if (transition == TRANSITION.NullTransition) { WKStaticFunction.WKMessageError("The Transition is null, or not fully initialized"); return; } if (_Map.ContainsKey(transition)) { _Map.Remove(transition); return; } WKStaticFunction.WKMessageLog("The Transition is not on the transition _Map"); }
private void JSONAction(string jsonString) { Debug.Log("asyjdhfguoyasdvfyuavsfajhsdvftauyvsdftgasdfbabwfyuasdbfhjbsdbbbbbbbb"); WKStaticFunction.WKMessageLog(jsonString); }