void HandleOnPlayCompleted(SPlugins.MovieTexture.AbstractMovieTextureComponent.CompletedType completedType_) { this._canPlay = false; if (SPlugins.MovieTexture.AbstractMovieTextureComponent.CompletedType.PLAYBACK_COMPLETION == completedType_) { if (null != movieTexture) { movieTexture.Stop(); } } }
void HandleOnPlayCompleted(int uid_, SPlugins.MovieTexture.AbstractMovieTextureComponent.CompletedType completedType_) { MovieTextureData movieTextureData = null; if (true == this._movieTextureDic.TryGetValue(uid_, out movieTextureData)) { if (SPlugins.MovieTexture.AbstractMovieTextureComponent.CompletedType.PLAYBACK_COMPLETION == completedType_) { movieTextureData.movieTexture.Stop(); } } }