static int SetPage(IntPtr L) { try { ToLua.CheckArgsCount(L, 4); UIPage obj = (UIPage)ToLua.CheckObject(L, 1, typeof(UIPage)); EPageType arg0 = (EPageType)ToLua.CheckObject(L, 2, typeof(EPageType)); EShowMode arg1 = (EShowMode)ToLua.CheckObject(L, 3, typeof(EShowMode)); ECollider arg2 = (ECollider)ToLua.CheckObject(L, 4, typeof(ECollider)); obj.SetPage(arg0, arg1, arg2); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }