public override void DoUpdate() { int i = Count - 1; while (i >= 0) { LoadStruct ls = loadingAsset[i]; if (ls.infor.isDone()) { loadingAsset.RemoveAt(i); Count--; ls.funOnLoadComplete(ls.infor); } i--; } }
public override void DoUpdate() { int i = Count - 1; while (i >= 0) { LoadStruct ls = loadingAsset[i]; if (ls.infor.isDone()) { loadingAsset.RemoveAt(i); Count--; ls.funOnLoadComplete(ls.infor); } i--; } }