public void SetLoaderObject(LoaderObject loader)
 {
     this.filePath = loader.GetFilePath();
     oggLoader = loader as SoundLoaderObject;
     if (oggLoader == null) {
     Debug.LogError("Loader for " + this.filePath + " is not an OggSoundLoaderObject");
     }
 }
 public override void SetLoaderObject(LoaderObject loader)
 {
     this.filePath = loader.GetFilePath();
     imageLoader = loader as ImageLoaderObject;
     if (imageLoader == null) {
     Debug.LogError("Loader for " + this.filePath + " is not an ImageLoaderObject");
     }
 }
Example #3
0
 public void SetLoaderObject(LoaderObject loader)
 {
     this.filePath = loader.GetFilePath();
     oggLoader     = loader as SoundLoaderObject;
     if (oggLoader == null)
     {
         Debug.LogError("Loader for " + this.filePath + " is not an OggSoundLoaderObject");
     }
 }
 public override void SetLoaderObject(LoaderObject loader)
 {
     this.filePath = loader.GetFilePath();
     imageLoader   = loader as ImageLoaderObject;
     if (imageLoader == null)
     {
         Debug.LogError("Loader for " + this.filePath + " is not an ImageLoaderObject");
     }
 }