public static IEnumerator LoadWithDependenciesAsync(string uri, int ttl) { var iter = bundleDeps.LoadAllDependenciesAsync(uri, ttl); while (iter.MoveNext()) { yield return(null); } iter = LoadAsync(null, uri, ttl); while (iter.MoveNext()) { yield return(null); } }
static public int LoadAllDependenciesAsync(IntPtr l) { try { LBoot.BundleDependencies self = (LBoot.BundleDependencies)checkSelf(l); System.String a1; checkType(l, 2, out a1); System.Int32 a2; checkType(l, 3, out a2); var ret = self.LoadAllDependenciesAsync(a1, a2); pushValue(l, ret); return(1); } catch (Exception e) { return(error(l, e)); } }