Exemplo n.º 1
0
 public void CreateVideoTexture(SceneManager scm, float width, float height, string aviFileName)
 {
     //if (videotex == null)
     //{
     videotex = new VideoTexture(scm, width, height, aviFileName);
     //}
 }
Exemplo n.º 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);
 }
Exemplo n.º 3
0
 public void DestroyVideoTexture()
 {
     videotex.Dispose();
     videotex = null;
 }
Exemplo n.º 4
0
 public VideoTextureManager()
 {
     videotex = null;
 }