private void Close() { #if AVPROWINDOWSMEDIA_FPS ResetFPS(); #endif Width = Height = 0; if (_movieHandle >= 0) { Pause(); AVProWindowsMediaPlugin.Stop(_movieHandle); AVProWindowsMediaPlugin.FreeInstanceHandle(_movieHandle); _movieHandle = -1; } }
private void Close() { Pause(); AVProWindowsMediaPlugin.Stop(_movieHandle); #if UNITY_EDITOR ResetFPS(); #endif Width = Height = 0; if (_movieHandle >= 0) { AVProWindowsMediaPlugin.FreeInstanceHandle(_movieHandle); _movieHandle = -1; } }