예제 #1
0
 void OnDestroy()
 {
     if (holoeverService != null)
     {
         holoeverService.StopCamereaPreView();
     }
     if (cameraPreviewHelper != null)
     {
         cameraPreviewHelper.Destroy();
     }
 }
예제 #2
0
 void OnDestroy()
 {
     if (nibiruService != null)
     {
         nibiruService.StopCamereaPreView();
     }
     if (cameraPreviewHelper != null)
     {
         cameraPreviewHelper.Destroy();
     }
 }
예제 #3
0
        void OnDestroy()
        {
            if (isCamersFocusRunning)
            {
                StoptAutoCameraFocus();
            }

            if (holoeverService != null)
            {
                holoeverService.StopCamereaPreView();
            }

            if (cameraPreviewHelper != null)
            {
                cameraPreviewHelper.Destroy();
            }
        }