void OnDestroy() { webcamTexture?.Stop(); poseDetect?.Dispose(); poseLandmark?.Dispose(); draw?.Dispose(); }
void OnDestroy() { webcamTexture?.Stop(); faceDetect?.Dispose(); faceMesh?.Dispose(); draw?.Dispose(); }
private void OnDestroy() { var webCamInput = GetComponent <WebCamInput>(); webCamInput.OnTextureUpdate.RemoveListener(OnTextureUpdate); moveNet?.Dispose(); draw?.Dispose(); }
private void OnDestroy() { GetComponent <WebCamInput>().OnTextureUpdate.RemoveListener(OnTextureUpdate); poseDetect?.Dispose(); poseLandmark?.Dispose(); draw?.Dispose(); }
void OnDestroy() { m_webcamTexture?.Stop(); m_faceDetect?.Dispose(); m_faceMesh?.Dispose(); m_irisLeftDetect?.Dispose(); m_irisRightDetect?.Dispose(); m_drawPrimitive?.Dispose(); }
void OnDestroy() { webcamTexture?.Stop(); poseNet?.Dispose(); draw?.Dispose(); }