Beispiel #1
0
        /// <summary>
        /// Stops MLImageTracker.
        /// </summary>
        public static void Stop()
        {
            #if PLATFORM_LUMIN
            if (MLImageTracker.IsStarted)
            {
                MLImageTracker.Stop();
            }

            else
            {
                Debug.LogError("Error: MLImageTrackerStarterKit.Stop failed because MLImageTracker was not started.");
            }
            #endif
        }
Beispiel #2
0
 private void OnDestroy()
 {
     MLImageTracker.Stop();
     MLImageTracker.Disable();
 }