예제 #1
0
        private void OnDestroy()
        {
            VuforiaARController expr_05 = VuforiaARController.Instance;

            expr_05.UnregisterVuforiaStartedCallback(new Action(this.OnVuforiaStarted));
            expr_05.UnregisterOnPauseCallback(new Action <bool>(this.OnPause));
        }
예제 #2
0
        protected override void OnDestroy()
        {
            VuforiaARController expr_05 = VuforiaARController.Instance;

            expr_05.UnregisterVuforiaInitializedCallback(new Action(this.OnVuforiaInitialized));
            expr_05.UnregisterVuforiaStartedCallback(new Action(this.OnVuforiaStarted));
            expr_05.UnregisterOnPauseCallback(new Action <bool>(this.OnPause));
        }
        private void OnDestroy()
        {
            VuforiaARController expr_05 = VuforiaARController.Instance;

            expr_05.UnregisterVuforiaInitializedCallback(new Action(this.OnVuforiaInitialized));
            expr_05.UnregisterVuforiaStartedCallback(new Action(this.OnVuforiaStarted));
            expr_05.UnregisterTrackablesUpdatedCallback(new Action(this.OnTrackablesUpdated));
            expr_05.UnregisterOnPauseCallback(new Action <bool>(this.OnPause));
            TextTracker tracker = TrackerManager.Instance.GetTracker <TextTracker>();

            if (tracker != null)
            {
                tracker.WordList.UnloadAllLists();
            }
        }