public void LoadPrefab(string bundleName, Action <GameObject, string> callback) { var finish = new ObjLoadFinish(); finish.AddName(bundleName); finish.AddCallbak <GameObject, string>(callback); LoadAsync(bundleName, finish); }
public void LoadPrefab(string name, string suffix, Action <GameObject, string> callback) { var finish = new ObjLoadFinish(); finish.AddName(name); finish.AddCallbak <GameObject, string>(callback); LoadAsync(name, suffix, finish); }