public IEnumerator LoadAsync(CoroutineTasks.CoroutineWork req, Type type) { if (Real != null) { return(Real.LoadAsync(req, type)); } else { return(CoroutineRunner.GetEmptyEnumerator()); } }
public IEnumerator PreloadAsync() { if (Real != null) { return(Real.PreloadAsync()); } else { return(CoroutineRunner.GetEmptyEnumerator()); } }
public static IEnumerator EnumLuaCoroutine(LuaOnStackFunc lfunc) { if (lfunc != null) { LuaThread lthd = new LuaThread(lfunc); return(EnumLuaCoroutine(lthd)); } else { return(CoroutineRunner.GetEmptyEnumerator()); } }