static int _CreateSystemInfo(IntPtr L) { int count = L.GetTop(); if (count == 0) { SystemInfo obj = new SystemInfo(); L.PushLightUserData(obj); return 1; } else { LuaDLL.luaL_error(L, "invalid arguments to method: SystemInfo.New"); } return 0; }
static int set_clipping(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UIDrawCall.Clipping arg0 = (UIDrawCall.Clipping)ToLua.CheckObject(L, 2, typeof(UIDrawCall.Clipping)); obj.clipping = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index clipping on a nil value"); } }
static int set_clipTexture(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UnityEngine.Texture2D arg0 = (UnityEngine.Texture2D)ToLua.CheckObject(L, 2, typeof(UnityEngine.Texture2D)); obj.clipTexture = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index clipTexture on a nil value"); } }
static int set_useSortingOrder(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.useSortingOrder = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index useSortingOrder on a nil value"); } }
static int set_alpha(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.alpha = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index alpha on a nil value"); } }
static int set_drawCalls(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; System.Collections.Generic.List<UIDrawCall> arg0 = (System.Collections.Generic.List<UIDrawCall>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List<UIDrawCall>)); obj.drawCalls = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index drawCalls on a nil value"); } }
static int set_onClipMove(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UIPanel.OnClippingMoved arg0 = (UIPanel.OnClippingMoved)ToLua.CheckDelegate<UIPanel.OnClippingMoved>(L, 2); obj.onClipMove = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index onClipMove on a nil value"); } }
static int get_clipCount(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; int ret = obj.clipCount; LuaDLL.lua_pushinteger(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index clipCount on a nil value"); } }
static int get_hasCumulativeClipping(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; bool ret = obj.hasCumulativeClipping; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index hasCumulativeClipping on a nil value"); } }
static int get_clipping(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UIDrawCall.Clipping ret = obj.clipping; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index clipping on a nil value"); } }
static int get_parentPanel(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UIPanel ret = obj.parentPanel; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index parentPanel on a nil value"); } }
static int get_usedForUI(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; bool ret = obj.usedForUI; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index usedForUI on a nil value"); } }
static int get_height(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; float ret = obj.height; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index height on a nil value"); } }
static int _CreateLight(IntPtr L) { int count = LuaDLL.lua_gettop(L); if (count == 0) { Light obj = new Light(); LuaScriptMgr.Push(L, obj); return(1); } else { LuaDLL.luaL_error(L, "invalid arguments to method: Light.New"); } return(0); }
static int set_anchorOffset(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.anchorOffset = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index anchorOffset on a nil value"); } }
static int get_clipOffset(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UnityEngine.Vector2 ret = obj.clipOffset; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index clipOffset on a nil value"); } }
static int set_renderQueue(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UIPanel.RenderQueue arg0 = (UIPanel.RenderQueue)ToLua.CheckObject(L, 2, typeof(UIPanel.RenderQueue)); obj.renderQueue = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index renderQueue on a nil value"); } }
static int get_clipTexture(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UnityEngine.Texture2D ret = obj.clipTexture; ToLua.PushSealed(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index clipTexture on a nil value"); } }
static int set_worldToLocal(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UnityEngine.Matrix4x4 arg0 = StackTraits<UnityEngine.Matrix4x4>.Check(L, 2); obj.worldToLocal = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index worldToLocal on a nil value"); } }
static int get_finalClipRegion(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UnityEngine.Vector4 ret = obj.finalClipRegion; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index finalClipRegion on a nil value"); } }
static int set_onCreateDrawCall(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UIDrawCall.OnCreateDrawCall arg0 = (UIDrawCall.OnCreateDrawCall)ToLua.CheckDelegate<UIDrawCall.OnCreateDrawCall>(L, 2); obj.onCreateDrawCall = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index onCreateDrawCall on a nil value"); } }
static int get_worldCorners(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UnityEngine.Vector3[] ret = obj.worldCorners; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index worldCorners on a nil value"); } }
static int set_sortingLayerName(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; string arg0 = ToLua.CheckString(L, 2); obj.sortingLayerName = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index sortingLayerName on a nil value"); } }
static int set_generateNormals(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.generateNormals = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index generateNormals on a nil value"); } }
static int set_sortingOrder(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.sortingOrder = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index sortingOrder on a nil value"); } }
static int set_shadowMode(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UIDrawCall.ShadowMode arg0 = (UIDrawCall.ShadowMode)ToLua.CheckObject(L, 2, typeof(UIDrawCall.ShadowMode)); obj.shadowMode = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index shadowMode on a nil value"); } }
static int set_clipOffset(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2); obj.clipOffset = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index clipOffset on a nil value"); } }
static int set_cullWhileDragging(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.cullWhileDragging = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index cullWhileDragging on a nil value"); } }
static int set_baseClipRegion(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UnityEngine.Vector4 arg0 = ToLua.ToVector4(L, 2); obj.baseClipRegion = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index baseClipRegion on a nil value"); } }
static int LoadAssetAsyncEx(IntPtr L) { try { ToLua.CheckArgsCount(L, 4); int arg0 = (int)LuaDLL.luaL_checknumber(L, 1); string arg1 = ToLua.CheckString(L, 2); bool arg2 = LuaDLL.luaL_checkboolean(L, 3); bool arg3 = LuaDLL.luaL_checkboolean(L, 4); WCG.ResourceMgr.LoadAssetAsyncEx(arg0, arg1, arg2, arg3); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } }