static int UpdateColor(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); UIButtonColor obj = LuaScriptMgr.GetNetObject <UIButtonColor>(L, 1); bool arg0 = LuaScriptMgr.GetBoolean(L, 2); obj.UpdateColor(arg0); return(0); }
static int UpdateColor(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); UIButtonColor obj = (UIButtonColor)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIButtonColor"); bool arg0 = LuaScriptMgr.GetBoolean(L, 2); obj.UpdateColor(arg0); return(0); }
static public int UpdateColor(IntPtr l) { try { UIButtonColor self = (UIButtonColor)checkSelf(l); System.Boolean a1; checkType(l, 2, out a1); self.UpdateColor(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int UpdateColor(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UIButtonColor obj = (UIButtonColor)ToLua.CheckObject(L, 1, typeof(UIButtonColor)); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.UpdateColor(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }