void HandleOnLoadCompleted(SPlugins.MovieTexture.AbstractMovieTextureComponent.ResultType resultType_, string resultDescription_) { if (SPlugins.MovieTexture.AbstractMovieTextureComponent.ResultType.SUCCESS == resultType_) { this._canPlay = true; } else { Debug.LogError(string.Format("Result:{0} - {1}", resultType_.ToString(), resultDescription_)); } }
void HandleOnLoadCompleted(int uid_, SPlugins.MovieTexture.AbstractMovieTextureComponent.ResultType resultType_, string resultDescription_) { MovieTextureData movieTextureData = null; if (true == this._movieTextureDic.TryGetValue(uid_, out movieTextureData)) { if (SPlugins.MovieTexture.AbstractMovieTextureComponent.ResultType.SUCCESS == resultType_) { movieTextureData.canPlay = true; } else { Debug.LogError(string.Format("Result:{0} - {1}", resultType_.ToString(), resultDescription_)); } } }