Example #1
0
 public void OnDestroy()
 {
     if (this.movieMaterial != null)
     {
         this.movieMaterial.Destroy();
     }
     SoundLib.UnloadMovieResources();
 }
Example #2
0
 public void LoadMovie(String fileName)
 {
     this.MBGInitialized = (SByte)(this.MBGInitialized + 1);
     this.movieMaterial.Load(fileName);
     SoundLib.UnloadMovieResources();
     SoundLib.LoadMovieResources("MovieAudio/", new String[]
     {
         fileName
     });
 }