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

        loadInfo.StartLoad();
    }