Example #1
0
 public void Dispose()
 {
     if (isDisposed)
     {
         return;
     }
     isDisposed = true;
     Destroy(gameObject);
     fileRoot           = null;
     fileNames          = null;
     fileLoader         = null;
     onCompleteCallback = null;
 }
Example #2
0
 private void Awake()
 {
     fileNames  = new Queue <string>();
     fileLoader = gameObject.AddComponent <LBHttpFileLoader>();
 }