Exemple #1
0
    private void Awake()
    {
#if UNITY_ANDROID && !UNITY_EDITOR
        SvrGlobalVariable.InitCinemaNativeInterface();

        Init();
#endif
    }
Exemple #2
0
    private void OnApplicationQuit()
    {
#if UNITY_ANDROID && !UNITY_EDITOR
        if (VideoPlayerPtr != IntPtr.Zero)
        {
            Release();
        }

        SvrGlobalVariable.Release();
#endif
    }