public void BindRenderTarget(int nativeTextureID_, AbstractMovieTextureComponent ownedMovieTextureComponent_, Material targetMaterial_)
    {
        if (null == targetMaterial_)
        {
            return;
        }

        if (true == this._editorMovieTextureDic.ContainsKey(nativeTextureID_))
        {
            this._editorMovieTextureDic.Remove(nativeTextureID_);
        }

        SPluginsMovieTexture spluginsMovieTexture = ownedMovieTextureComponent_ as SPluginsMovieTexture;

        if (null == spluginsMovieTexture)
        {
            return;
        }

        UnityEngine.MovieTexture movieTexture = spluginsMovieTexture.movieTextureObject as UnityEngine.MovieTexture;
        if (null == movieTexture)
        {
            return;
        }

        targetMaterial_.mainTexture = movieTexture;

        SEditorMovieTexture editorMovieTexture = new SEditorMovieTexture();

        editorMovieTexture.nativeTextureID            = nativeTextureID_;
        editorMovieTexture.movieTexture               = movieTexture;
        editorMovieTexture.ownedMovieTextureComponent = ownedMovieTextureComponent_;
        editorMovieTexture.mediaState = MediaState.IDLE;
        if (null != editorMovieTexture.ownedMovieTextureComponent)
        {
            editorMovieTexture.audioSource = editorMovieTexture.ownedMovieTextureComponent.GetComponent <AudioSource>();
            if (null == editorMovieTexture.audioSource)
            {
                editorMovieTexture.audioSource = editorMovieTexture.ownedMovieTextureComponent.gameObject.AddComponent <AudioSource>();
            }
        }
        this._editorMovieTextureDic.Add(nativeTextureID_, editorMovieTexture);
    }
 public void BindRenderTarget(int nativeTextureID_, AbstractMovieTextureComponent ownedMovieTextureComponent_, Material targetMaterial_)
 {
     throw new NotImplementedException();
 }