static public int Rebuild(IntPtr l) { try { #if DEBUG var method = System.Reflection.MethodBase.GetCurrentMethod(); string methodName = GetMethodName(method); #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.BeginSample(methodName); #else Profiler.BeginSample(methodName); #endif #endif UnityEngine.UI.Toggle self = (UnityEngine.UI.Toggle)checkSelf(l); UnityEngine.UI.CanvasUpdate a1; a1 = (UnityEngine.UI.CanvasUpdate)LuaDLL.luaL_checkinteger(l, 2); self.Rebuild(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } #if DEBUG finally { #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.EndSample(); #else Profiler.EndSample(); #endif } #endif }
static int Rebuild(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); UnityEngine.UI.Toggle obj = (UnityEngine.UI.Toggle)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UnityEngine.UI.Toggle"); UnityEngine.UI.CanvasUpdate arg0 = (UnityEngine.UI.CanvasUpdate)LuaScriptMgr.GetNetObject(L, 2, typeof(UnityEngine.UI.CanvasUpdate)); obj.Rebuild(arg0); return(0); }
static public int Rebuild(IntPtr l) { try { UnityEngine.UI.Toggle self = (UnityEngine.UI.Toggle)checkSelf(l); UnityEngine.UI.CanvasUpdate a1; checkEnum(l, 2, out a1); self.Rebuild(a1); return(0); } catch (Exception e) { return(error(l, e)); } }
static int QPYX_Rebuild_YXQP(IntPtr L_YXQP) { try { ToLua.CheckArgsCount(L_YXQP, 2); UnityEngine.UI.Toggle QPYX_obj_YXQP = (UnityEngine.UI.Toggle)ToLua.CheckObject <UnityEngine.UI.Toggle>(L_YXQP, 1); UnityEngine.UI.CanvasUpdate QPYX_arg0_YXQP = (UnityEngine.UI.CanvasUpdate)ToLua.CheckObject(L_YXQP, 2, typeof(UnityEngine.UI.CanvasUpdate)); QPYX_obj_YXQP.Rebuild(QPYX_arg0_YXQP); return(0); } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }
static int Rebuild(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.UI.Toggle obj = (UnityEngine.UI.Toggle)ToLua.CheckObject(L, 1, typeof(UnityEngine.UI.Toggle)); UnityEngine.UI.CanvasUpdate arg0 = (UnityEngine.UI.CanvasUpdate)ToLua.CheckObject(L, 2, typeof(UnityEngine.UI.CanvasUpdate)); obj.Rebuild(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }