コード例 #1
0
    public void Deinit()
    {
        // Clean up any open movies
        AVProWindowsMediaMovie[] movies = (AVProWindowsMediaMovie[])FindObjectsOfType(typeof(AVProWindowsMediaMovie));
        if (movies != null && movies.Length > 0)
        {
            for (int i = 0; i < movies.Length; i++)
            {
                movies[i].UnloadMovie();
            }
        }

        _instance      = null;
        _isInitialised = false;

        AVProWindowsMediaPlugin.Deinit();
    }