private void Awake() { #if UNITY_ANDROID && !UNITY_EDITOR SvrGlobalVariable.InitCinemaNativeInterface(); Init(); #endif }
private void OnApplicationQuit() { #if UNITY_ANDROID && !UNITY_EDITOR if (VideoPlayerPtr != IntPtr.Zero) { Release(); } SvrGlobalVariable.Release(); #endif }