static int StatrtDownloadAPK(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); LuaFramework.WWWManager obj = (LuaFramework.WWWManager)ToLua.CheckObject <LuaFramework.WWWManager>(L, 1); string arg0 = ToLua.CheckString(L, 2); string arg1 = ToLua.CheckString(L, 3); System.Collections.IEnumerator o = obj.StatrtDownloadAPK(arg0, arg1); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }