#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; namespace XLua.CSObjectWrap { using Utils = XLua.Utils; public class UIWidgetWrap { public static void __Register(RealStatePtr L) { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(UIWidget); Utils.BeginObjectRegister(type, L, translator, 0, 21, 53, 40); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDimensions", _m_SetDimensions); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSides", _m_GetSides); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SelfCalculateFinalAlpha", _m_SelfCalculateFinalAlpha); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CalculateFinalAlpha", _m_CalculateFinalAlpha); Utils.RegisterFunc(L, Utils.METHOD_IDX, "Invalidate", _m_Invalidate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CalculateCumulativeAlpha", _m_CalculateCumulativeAlpha); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRect", _m_SetRect); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResizeCollider", _m_ResizeCollider); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CalculateBounds", _m_CalculateBounds); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDirty", _m_SetDirty); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveFromPanel", _m_RemoveFromPanel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "MarkAsChanged", _m_MarkAsChanged); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CreatePanel", _m_CreatePanel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckLayer", _m_CheckLayer); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ParentHasChanged", _m_ParentHasChanged); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateVisibility", _m_UpdateVisibility); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateTransform", _m_UpdateTransform); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateGeometry", _m_UpdateGeometry); Utils.RegisterFunc(L, Utils.METHOD_IDX, "WriteToBuffers", _m_WriteToBuffers); Utils.RegisterFunc(L, Utils.METHOD_IDX, "MakePixelPerfect", _m_MakePixelPerfect); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnFill", _m_OnFill); Utils.RegisterFunc(L, Utils.GETTER_IDX, "onRender", _g_get_onRender); Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsGray", _g_get_IsGray); Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsFlowLight", _g_get_IsFlowLight); Utils.RegisterFunc(L, Utils.GETTER_IDX, "FlowColor", _g_get_FlowColor); Utils.RegisterFunc(L, Utils.GETTER_IDX, "FlowParam", _g_get_FlowParam); Utils.RegisterFunc(L, Utils.GETTER_IDX, "FlowWidth", _g_get_FlowWidth); Utils.RegisterFunc(L, Utils.GETTER_IDX, "FlowSpeed", _g_get_FlowSpeed); Utils.RegisterFunc(L, Utils.GETTER_IDX, "FlowValue", _g_get_FlowValue); Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsAutoFlow", _g_get_IsAutoFlow); Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsOverlay", _g_get_IsOverlay); Utils.RegisterFunc(L, Utils.GETTER_IDX, "drawRegion", _g_get_drawRegion); Utils.RegisterFunc(L, Utils.GETTER_IDX, "pivotOffset", _g_get_pivotOffset); Utils.RegisterFunc(L, Utils.GETTER_IDX, "width", _g_get_width); Utils.RegisterFunc(L, Utils.GETTER_IDX, "height", _g_get_height); Utils.RegisterFunc(L, Utils.GETTER_IDX, "color", _g_get_color); Utils.RegisterFunc(L, Utils.GETTER_IDX, "alpha", _g_get_alpha); Utils.RegisterFunc(L, Utils.GETTER_IDX, "isVisible", _g_get_isVisible); Utils.RegisterFunc(L, Utils.GETTER_IDX, "hasVertices", _g_get_hasVertices); Utils.RegisterFunc(L, Utils.GETTER_IDX, "rawPivot", _g_get_rawPivot); Utils.RegisterFunc(L, Utils.GETTER_IDX, "pivot", _g_get_pivot); Utils.RegisterFunc(L, Utils.GETTER_IDX, "depth", _g_get_depth); Utils.RegisterFunc(L, Utils.GETTER_IDX, "raycastDepth", _g_get_raycastDepth); Utils.RegisterFunc(L, Utils.GETTER_IDX, "localCorners", _g_get_localCorners); Utils.RegisterFunc(L, Utils.GETTER_IDX, "localSize", _g_get_localSize); Utils.RegisterFunc(L, Utils.GETTER_IDX, "localCenter", _g_get_localCenter); Utils.RegisterFunc(L, Utils.GETTER_IDX, "worldCorners", _g_get_worldCorners); Utils.RegisterFunc(L, Utils.GETTER_IDX, "worldCenter", _g_get_worldCenter); Utils.RegisterFunc(L, Utils.GETTER_IDX, "drawingDimensions", _g_get_drawingDimensions); Utils.RegisterFunc(L, Utils.GETTER_IDX, "material", _g_get_material); Utils.RegisterFunc(L, Utils.GETTER_IDX, "mainTexture", _g_get_mainTexture); Utils.RegisterFunc(L, Utils.GETTER_IDX, "shader", _g_get_shader); Utils.RegisterFunc(L, Utils.GETTER_IDX, "hasBoxCollider", _g_get_hasBoxCollider); Utils.RegisterFunc(L, Utils.GETTER_IDX, "minWidth", _g_get_minWidth); Utils.RegisterFunc(L, Utils.GETTER_IDX, "minHeight", _g_get_minHeight); Utils.RegisterFunc(L, Utils.GETTER_IDX, "border", _g_get_border); Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsOnlyWidget", _g_get_IsOnlyWidget); Utils.RegisterFunc(L, Utils.GETTER_IDX, "useGradient", _g_get_useGradient); Utils.RegisterFunc(L, Utils.GETTER_IDX, "ltColor", _g_get_ltColor); Utils.RegisterFunc(L, Utils.GETTER_IDX, "lbColor", _g_get_lbColor); Utils.RegisterFunc(L, Utils.GETTER_IDX, "rtColor", _g_get_rtColor); Utils.RegisterFunc(L, Utils.GETTER_IDX, "rbColor", _g_get_rbColor); Utils.RegisterFunc(L, Utils.GETTER_IDX, "onChange", _g_get_onChange); Utils.RegisterFunc(L, Utils.GETTER_IDX, "onPostFill", _g_get_onPostFill); Utils.RegisterFunc(L, Utils.GETTER_IDX, "mOnRender", _g_get_mOnRender); Utils.RegisterFunc(L, Utils.GETTER_IDX, "autoResizeBoxCollider", _g_get_autoResizeBoxCollider); Utils.RegisterFunc(L, Utils.GETTER_IDX, "hideIfOffScreen", _g_get_hideIfOffScreen); Utils.RegisterFunc(L, Utils.GETTER_IDX, "keepAspectRatio", _g_get_keepAspectRatio); Utils.RegisterFunc(L, Utils.GETTER_IDX, "aspectRatio", _g_get_aspectRatio); Utils.RegisterFunc(L, Utils.GETTER_IDX, "hitCheck", _g_get_hitCheck); Utils.RegisterFunc(L, Utils.GETTER_IDX, "panel", _g_get_panel); Utils.RegisterFunc(L, Utils.GETTER_IDX, "geometry", _g_get_geometry); Utils.RegisterFunc(L, Utils.GETTER_IDX, "fillGeometry", _g_get_fillGeometry); Utils.RegisterFunc(L, Utils.GETTER_IDX, "drawCall", _g_get_drawCall); Utils.RegisterFunc(L, Utils.SETTER_IDX, "onRender", _s_set_onRender); Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsGray", _s_set_IsGray); Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsFlowLight", _s_set_IsFlowLight); Utils.RegisterFunc(L, Utils.SETTER_IDX, "FlowColor", _s_set_FlowColor); Utils.RegisterFunc(L, Utils.SETTER_IDX, "FlowParam", _s_set_FlowParam); Utils.RegisterFunc(L, Utils.SETTER_IDX, "FlowWidth", _s_set_FlowWidth); Utils.RegisterFunc(L, Utils.SETTER_IDX, "FlowSpeed", _s_set_FlowSpeed); Utils.RegisterFunc(L, Utils.SETTER_IDX, "FlowValue", _s_set_FlowValue); Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsAutoFlow", _s_set_IsAutoFlow); Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsOverlay", _s_set_IsOverlay); Utils.RegisterFunc(L, Utils.SETTER_IDX, "drawRegion", _s_set_drawRegion); Utils.RegisterFunc(L, Utils.SETTER_IDX, "width", _s_set_width); Utils.RegisterFunc(L, Utils.SETTER_IDX, "height", _s_set_height); Utils.RegisterFunc(L, Utils.SETTER_IDX, "color", _s_set_color); Utils.RegisterFunc(L, Utils.SETTER_IDX, "alpha", _s_set_alpha); Utils.RegisterFunc(L, Utils.SETTER_IDX, "rawPivot", _s_set_rawPivot); Utils.RegisterFunc(L, Utils.SETTER_IDX, "pivot", _s_set_pivot); Utils.RegisterFunc(L, Utils.SETTER_IDX, "depth", _s_set_depth); Utils.RegisterFunc(L, Utils.SETTER_IDX, "material", _s_set_material); Utils.RegisterFunc(L, Utils.SETTER_IDX, "mainTexture", _s_set_mainTexture); Utils.RegisterFunc(L, Utils.SETTER_IDX, "shader", _s_set_shader); Utils.RegisterFunc(L, Utils.SETTER_IDX, "border", _s_set_border); Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsOnlyWidget", _s_set_IsOnlyWidget); Utils.RegisterFunc(L, Utils.SETTER_IDX, "useGradient", _s_set_useGradient); Utils.RegisterFunc(L, Utils.SETTER_IDX, "ltColor", _s_set_ltColor); Utils.RegisterFunc(L, Utils.SETTER_IDX, "lbColor", _s_set_lbColor); Utils.RegisterFunc(L, Utils.SETTER_IDX, "rtColor", _s_set_rtColor); Utils.RegisterFunc(L, Utils.SETTER_IDX, "rbColor", _s_set_rbColor); Utils.RegisterFunc(L, Utils.SETTER_IDX, "onChange", _s_set_onChange); Utils.RegisterFunc(L, Utils.SETTER_IDX, "onPostFill", _s_set_onPostFill); Utils.RegisterFunc(L, Utils.SETTER_IDX, "mOnRender", _s_set_mOnRender); Utils.RegisterFunc(L, Utils.SETTER_IDX, "autoResizeBoxCollider", _s_set_autoResizeBoxCollider); Utils.RegisterFunc(L, Utils.SETTER_IDX, "hideIfOffScreen", _s_set_hideIfOffScreen); Utils.RegisterFunc(L, Utils.SETTER_IDX, "keepAspectRatio", _s_set_keepAspectRatio); Utils.RegisterFunc(L, Utils.SETTER_IDX, "aspectRatio", _s_set_aspectRatio); Utils.RegisterFunc(L, Utils.SETTER_IDX, "hitCheck", _s_set_hitCheck); Utils.RegisterFunc(L, Utils.SETTER_IDX, "panel", _s_set_panel); Utils.RegisterFunc(L, Utils.SETTER_IDX, "geometry", _s_set_geometry); Utils.RegisterFunc(L, Utils.SETTER_IDX, "fillGeometry", _s_set_fillGeometry); Utils.RegisterFunc(L, Utils.SETTER_IDX, "drawCall", _s_set_drawCall); Utils.EndObjectRegister(type, L, translator, null, null, null, null, null); Utils.BeginClassRegister(type, L, __CreateInstance, 3, 0, 0); Utils.RegisterFunc(L, Utils.CLS_IDX, "FullCompareFunc", _m_FullCompareFunc_xlua_st_); Utils.RegisterFunc(L, Utils.CLS_IDX, "PanelCompareFunc", _m_PanelCompareFunc_xlua_st_); Utils.EndClassRegister(type, L, translator); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int __CreateInstance(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); if(LuaAPI.lua_gettop(L) == 1) { UIWidget gen_ret = new UIWidget(); translator.Push(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return LuaAPI.luaL_error(L, "invalid arguments to UIWidget constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetDimensions(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { int _w = LuaAPI.xlua_tointeger(L, 2); int _h = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.SetDimensions( _w, _h ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetSides(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { UnityEngine.Transform _relativeTo = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform)); UnityEngine.Vector3[] gen_ret = gen_to_be_invoked.GetSides( _relativeTo ); translator.Push(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SelfCalculateFinalAlpha(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { float _parentAlpha = (float)LuaAPI.lua_tonumber(L, 2); gen_to_be_invoked.SelfCalculateFinalAlpha( _parentAlpha ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CalculateFinalAlpha(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { int _frameID = LuaAPI.xlua_tointeger(L, 2); float gen_ret = gen_to_be_invoked.CalculateFinalAlpha( _frameID ); LuaAPI.lua_pushnumber(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_Invalidate(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)) { bool _includeChildren = LuaAPI.lua_toboolean(L, 2); bool _onlyAlphaChange = LuaAPI.lua_toboolean(L, 3); gen_to_be_invoked.Invalidate( _includeChildren, _onlyAlphaChange ); return 0; } if(gen_param_count == 2&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) { bool _includeChildren = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.Invalidate( _includeChildren ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return LuaAPI.luaL_error(L, "invalid arguments to UIWidget.Invalidate!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CalculateCumulativeAlpha(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { int _frameID = LuaAPI.xlua_tointeger(L, 2); float gen_ret = gen_to_be_invoked.CalculateCumulativeAlpha( _frameID ); LuaAPI.lua_pushnumber(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetRect(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { float _x = (float)LuaAPI.lua_tonumber(L, 2); float _y = (float)LuaAPI.lua_tonumber(L, 3); float _width = (float)LuaAPI.lua_tonumber(L, 4); float _height = (float)LuaAPI.lua_tonumber(L, 5); gen_to_be_invoked.SetRect( _x, _y, _width, _height ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ResizeCollider(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.ResizeCollider( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_FullCompareFunc_xlua_st_(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); { UIWidget _left = (UIWidget)translator.GetObject(L, 1, typeof(UIWidget)); UIWidget _right = (UIWidget)translator.GetObject(L, 2, typeof(UIWidget)); int gen_ret = UIWidget.FullCompareFunc( _left, _right ); LuaAPI.xlua_pushinteger(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_PanelCompareFunc_xlua_st_(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); { UIWidget _left = (UIWidget)translator.GetObject(L, 1, typeof(UIWidget)); UIWidget _right = (UIWidget)translator.GetObject(L, 2, typeof(UIWidget)); int gen_ret = UIWidget.PanelCompareFunc( _left, _right ); LuaAPI.xlua_pushinteger(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CalculateBounds(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 1) { UnityEngine.Bounds gen_ret = gen_to_be_invoked.CalculateBounds( ); translator.PushUnityEngineBounds(L, gen_ret); return 1; } if(gen_param_count == 2&& translator.Assignable(L, 2)) { UnityEngine.Transform _relativeParent = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform)); UnityEngine.Bounds gen_ret = gen_to_be_invoked.CalculateBounds( _relativeParent ); translator.PushUnityEngineBounds(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return LuaAPI.luaL_error(L, "invalid arguments to UIWidget.CalculateBounds!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetDirty(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SetDirty( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_RemoveFromPanel(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.RemoveFromPanel( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_MarkAsChanged(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.MarkAsChanged( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CreatePanel(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { bool gen_ret = gen_to_be_invoked.CreatePanel( ); LuaAPI.lua_pushboolean(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CheckLayer(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.CheckLayer( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ParentHasChanged(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.ParentHasChanged( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UpdateVisibility(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { bool _visibleByAlpha = LuaAPI.lua_toboolean(L, 2); bool _visibleByPanel = LuaAPI.lua_toboolean(L, 3); bool gen_ret = gen_to_be_invoked.UpdateVisibility( _visibleByAlpha, _visibleByPanel ); LuaAPI.lua_pushboolean(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UpdateTransform(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { int _frame = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.UpdateTransform( _frame ); LuaAPI.lua_pushboolean(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UpdateGeometry(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { int _frame = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.UpdateGeometry( _frame ); LuaAPI.lua_pushboolean(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_WriteToBuffers(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { BetterList _v = (BetterList)translator.GetObject(L, 2, typeof(BetterList)); BetterList _u = (BetterList)translator.GetObject(L, 3, typeof(BetterList)); BetterList _c = (BetterList)translator.GetObject(L, 4, typeof(BetterList)); BetterList _n = (BetterList)translator.GetObject(L, 5, typeof(BetterList)); BetterList _t = (BetterList)translator.GetObject(L, 6, typeof(BetterList)); gen_to_be_invoked.WriteToBuffers( _v, _u, _c, _n, _t ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_MakePixelPerfect(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.MakePixelPerfect( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_OnFill(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); { BetterList _verts = (BetterList)translator.GetObject(L, 2, typeof(BetterList)); BetterList _uvs = (BetterList)translator.GetObject(L, 3, typeof(BetterList)); BetterList _cols = (BetterList)translator.GetObject(L, 4, typeof(BetterList)); gen_to_be_invoked.OnFill( _verts, _uvs, _cols ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_onRender(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.onRender); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_IsGray(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsGray); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_IsFlowLight(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsFlowLight); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_FlowColor(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.FlowColor); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_FlowParam(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.FlowParam); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_FlowWidth(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.FlowWidth); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_FlowSpeed(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.FlowSpeed); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_FlowValue(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.FlowValue); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_IsAutoFlow(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsAutoFlow); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_IsOverlay(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsOverlay); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_drawRegion(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUnityEngineVector4(L, gen_to_be_invoked.drawRegion); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_pivotOffset(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUnityEngineVector2(L, gen_to_be_invoked.pivotOffset); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_width(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.width); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_height(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.height); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_color(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUnityEngineColor(L, gen_to_be_invoked.color); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_alpha(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushnumber(L, gen_to_be_invoked.alpha); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_isVisible(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isVisible); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_hasVertices(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.hasVertices); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_rawPivot(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUIWidgetPivot(L, gen_to_be_invoked.rawPivot); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_pivot(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUIWidgetPivot(L, gen_to_be_invoked.pivot); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_depth(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.depth); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_raycastDepth(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.raycastDepth); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_localCorners(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.localCorners); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_localSize(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUnityEngineVector2(L, gen_to_be_invoked.localSize); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_localCenter(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUnityEngineVector3(L, gen_to_be_invoked.localCenter); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_worldCorners(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.worldCorners); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_worldCenter(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUnityEngineVector3(L, gen_to_be_invoked.worldCenter); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_drawingDimensions(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUnityEngineVector4(L, gen_to_be_invoked.drawingDimensions); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_material(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.material); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_mainTexture(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.mainTexture); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_shader(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.shader); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_hasBoxCollider(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.hasBoxCollider); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_minWidth(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.minWidth); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_minHeight(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.minHeight); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_border(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUnityEngineVector4(L, gen_to_be_invoked.border); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_IsOnlyWidget(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsOnlyWidget); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_useGradient(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.useGradient); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_ltColor(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUnityEngineColor(L, gen_to_be_invoked.ltColor); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_lbColor(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUnityEngineColor(L, gen_to_be_invoked.lbColor); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_rtColor(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUnityEngineColor(L, gen_to_be_invoked.rtColor); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_rbColor(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUnityEngineColor(L, gen_to_be_invoked.rbColor); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_onChange(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.onChange); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_onPostFill(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.onPostFill); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_mOnRender(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.mOnRender); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_autoResizeBoxCollider(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.autoResizeBoxCollider); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_hideIfOffScreen(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.hideIfOffScreen); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_keepAspectRatio(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.PushUIWidgetAspectRatioSource(L, gen_to_be_invoked.keepAspectRatio); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_aspectRatio(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushnumber(L, gen_to_be_invoked.aspectRatio); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_hitCheck(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.hitCheck); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_panel(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.panel); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_geometry(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.geometry); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_fillGeometry(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.fillGeometry); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_drawCall(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.drawCall); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_onRender(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.onRender = translator.GetDelegate(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_IsGray(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.IsGray = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_IsFlowLight(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.IsFlowLight = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_FlowColor(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); UnityEngine.Vector3Int gen_value;translator.Get(L, 2, out gen_value); gen_to_be_invoked.FlowColor = gen_value; } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_FlowParam(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); UnityEngine.Vector3Int gen_value;translator.Get(L, 2, out gen_value); gen_to_be_invoked.FlowParam = gen_value; } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_FlowWidth(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.FlowWidth = LuaAPI.xlua_tointeger(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_FlowSpeed(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.FlowSpeed = LuaAPI.xlua_tointeger(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_FlowValue(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.FlowValue = LuaAPI.xlua_tointeger(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_IsAutoFlow(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.IsAutoFlow = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_IsOverlay(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.IsOverlay = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_drawRegion(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); UnityEngine.Vector4 gen_value;translator.Get(L, 2, out gen_value); gen_to_be_invoked.drawRegion = gen_value; } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_width(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.width = LuaAPI.xlua_tointeger(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_height(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.height = LuaAPI.xlua_tointeger(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_color(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); UnityEngine.Color gen_value;translator.Get(L, 2, out gen_value); gen_to_be_invoked.color = gen_value; } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_alpha(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.alpha = (float)LuaAPI.lua_tonumber(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_rawPivot(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); UIWidget.Pivot gen_value;if (LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TNUMBER)gen_value = (UIWidget.Pivot)LuaAPI.lua_tonumber(L, 2);else translator.Get(L, 2, out gen_value); gen_to_be_invoked.rawPivot = gen_value; } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_pivot(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); UIWidget.Pivot gen_value;if (LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TNUMBER)gen_value = (UIWidget.Pivot)LuaAPI.lua_tonumber(L, 2);else translator.Get(L, 2, out gen_value); gen_to_be_invoked.pivot = gen_value; } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_depth(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.depth = LuaAPI.xlua_tointeger(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_material(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.material = (UnityEngine.Material)translator.GetObject(L, 2, typeof(UnityEngine.Material)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_mainTexture(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.mainTexture = (UnityEngine.Texture)translator.GetObject(L, 2, typeof(UnityEngine.Texture)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_shader(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.shader = (UnityEngine.Shader)translator.GetObject(L, 2, typeof(UnityEngine.Shader)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_border(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); UnityEngine.Vector4 gen_value;translator.Get(L, 2, out gen_value); gen_to_be_invoked.border = gen_value; } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_IsOnlyWidget(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.IsOnlyWidget = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_useGradient(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.useGradient = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_ltColor(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); UnityEngine.Color gen_value;translator.Get(L, 2, out gen_value); gen_to_be_invoked.ltColor = gen_value; } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_lbColor(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); UnityEngine.Color gen_value;translator.Get(L, 2, out gen_value); gen_to_be_invoked.lbColor = gen_value; } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_rtColor(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); UnityEngine.Color gen_value;translator.Get(L, 2, out gen_value); gen_to_be_invoked.rtColor = gen_value; } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_rbColor(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); UnityEngine.Color gen_value;translator.Get(L, 2, out gen_value); gen_to_be_invoked.rbColor = gen_value; } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_onChange(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.onChange = translator.GetDelegate(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_onPostFill(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.onPostFill = translator.GetDelegate(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_mOnRender(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.mOnRender = translator.GetDelegate(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_autoResizeBoxCollider(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.autoResizeBoxCollider = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_hideIfOffScreen(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.hideIfOffScreen = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_keepAspectRatio(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); UIWidget.AspectRatioSource gen_value;if (LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TNUMBER)gen_value = (UIWidget.AspectRatioSource)LuaAPI.lua_tonumber(L, 2);else translator.Get(L, 2, out gen_value); gen_to_be_invoked.keepAspectRatio = gen_value; } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_aspectRatio(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.aspectRatio = (float)LuaAPI.lua_tonumber(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_hitCheck(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.hitCheck = translator.GetDelegate(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_panel(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.panel = (UIPanel)translator.GetObject(L, 2, typeof(UIPanel)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_geometry(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.geometry = (UIGeometry)translator.GetObject(L, 2, typeof(UIGeometry)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_fillGeometry(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.fillGeometry = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_drawCall(RealStatePtr L) { try { ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L); UIWidget gen_to_be_invoked = (UIWidget)translator.FastGetCSObj(L, 1); gen_to_be_invoked.drawCall = (UIDrawCall)translator.GetObject(L, 2, typeof(UIDrawCall)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } } }