public void pause()
 {
     if (movieGeometry != IntPtr.Zero)
     {
         MetaioSDKUnity.pauseMovieTexture(movieGeometry);
     }
     isPlaying = false;
 }
 void OnBecameInvisible()
 {
     // pause plackback when GameObject becomes invisible
     if (isPlaying && movieGeometry != IntPtr.Zero)
     {
         MetaioSDKUnity.pauseMovieTexture(movieGeometry);
     }
 }