static int SetGray(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); Framework.LuaComponent obj = (Framework.LuaComponent)ToLua.CheckObject <Framework.LuaComponent>(L, 1); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.SetGray(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int SetGray(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("Framework.LuaComponent.SetGray"); #endif try { ToLua.CheckArgsCount(L, 2); Framework.LuaComponent obj = (Framework.LuaComponent)ToLua.CheckObject <Framework.LuaComponent>(L, 1); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.SetGray(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }