Пример #1
0
 public void CreateVideoTexture(SceneManager scm, float width, float height, string aviFileName)
 {
     if (videotex != null)
     {
         videotex.Dispose();
     }
     videotex = new VideoTexture(scm, width, height, aviFileName);
 }
Пример #2
0
 public void DestroyVideoTexture()
 {
     videotex.Dispose();
     videotex = null;
 }