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