예제 #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;
 }