private TestFuncInfo BundleLoadTest(string name, Func<IEnumerator> testFunc, int row, int col) { var info = new TestFuncInfo(); info.name = name; info.bundleTest = gameObject.AddComponent<BundleTest>(); info.bundleTest.testFunc = testFunc; info.bundleTest.cleanupFunc = UnloadBundle; info.i = row; info.j = col; return info; }
private TestFuncInfo BundleLoadTest(string name, Func <IEnumerator> testFunc, int row, int col) { var info = new TestFuncInfo(); info.name = name; info.bundleTest = gameObject.AddComponent <BundleTest>(); info.bundleTest.testFunc = testFunc; info.bundleTest.cleanupFunc = UnloadBundle; info.i = row; info.j = col; return(info); }