public void StartLoadHandler() { for (int i = 0; i < addressList.Count; i++) { AssetLoadInfo <T> info = new AssetLoadInfo <T>(addressList[i], LoadHandlerCompleted); info.StartLoad(); } }
public static void LoadAsync <T>(string assetAddress, Action <T> callback) { AssetLoadInfo <T> loadInfo = new AssetLoadInfo <T>(assetAddress, callback); loadInfo.StartLoad(); }