void OnDestroy() { if (holoeverService != null) { holoeverService.StopCamereaPreView(); } if (cameraPreviewHelper != null) { cameraPreviewHelper.Destroy(); } }
void OnDestroy() { if (nibiruService != null) { nibiruService.StopCamereaPreView(); } if (cameraPreviewHelper != null) { cameraPreviewHelper.Destroy(); } }
void OnDestroy() { if (isCamersFocusRunning) { StoptAutoCameraFocus(); } if (holoeverService != null) { holoeverService.StopCamereaPreView(); } if (cameraPreviewHelper != null) { cameraPreviewHelper.Destroy(); } }