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