예제 #1
0
 public void LoadObject(string name, Action<GameObject> onLoaded)
 {
     Task t = new Task(name);
     t.objectCallback = onLoaded;
     taskList.Add(t);
 }
예제 #2
0
 public void LoadText(string name, Action<string> onLoaded)
 {
     Task t = new Task(name);
     t.stringCallback = onLoaded;
     taskList.Add(t);
 }
예제 #3
0
 public void LoadBytes(string name, Action<byte[]> onLoaded)
 {
     Task t = new Task(name);
     t.byteCallback = onLoaded;
     taskList.Add(t);
 }