static int ModifyMesh(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(UnityEngine.UI.Outline), typeof(UnityEngine.Mesh))) { UnityEngine.UI.Outline obj = (UnityEngine.UI.Outline)ToLua.ToObject(L, 1); UnityEngine.Mesh arg0 = (UnityEngine.Mesh)ToLua.ToObject(L, 2); obj.ModifyMesh(arg0); return(0); } else if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(UnityEngine.UI.Outline), typeof(UnityEngine.UI.VertexHelper))) { UnityEngine.UI.Outline obj = (UnityEngine.UI.Outline)ToLua.ToObject(L, 1); UnityEngine.UI.VertexHelper arg0 = (UnityEngine.UI.VertexHelper)ToLua.ToObject(L, 2); obj.ModifyMesh(arg0); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.UI.Outline.ModifyMesh")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public int ModifyMesh(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); if (matchType(l, "ModifyMesh__VertexHelper", argc, 2, typeof(UnityEngine.UI.VertexHelper))) { UnityEngine.UI.Outline self = (UnityEngine.UI.Outline)checkSelf(l); UnityEngine.UI.VertexHelper a1; checkType(l, 3, out a1); self.ModifyMesh(a1); pushValue(l, true); return(1); } else if (matchType(l, "ModifyMesh__Mesh", argc, 2, typeof(UnityEngine.Mesh))) { UnityEngine.UI.Outline self = (UnityEngine.UI.Outline)checkSelf(l); UnityEngine.Mesh a1; checkType(l, 3, out a1); self.ModifyMesh(a1); pushValue(l, true); return(1); } pushValue(l, false); LuaDLL.lua_pushstring(l, "No matched override function to call"); return(2); } catch (Exception e) { return(error(l, e)); } }
static int QPYX_ModifyMesh_YXQP(IntPtr L_YXQP) { try { int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP); if (QPYX_count_YXQP == 2 && TypeChecker.CheckTypes <UnityEngine.Mesh>(L_YXQP, 2)) { UnityEngine.UI.Outline QPYX_obj_YXQP = (UnityEngine.UI.Outline)ToLua.CheckObject <UnityEngine.UI.Outline>(L_YXQP, 1); UnityEngine.Mesh QPYX_arg0_YXQP = (UnityEngine.Mesh)ToLua.ToObject(L_YXQP, 2); QPYX_obj_YXQP.ModifyMesh(QPYX_arg0_YXQP); return(0); } else if (QPYX_count_YXQP == 2 && TypeChecker.CheckTypes <UnityEngine.UI.VertexHelper>(L_YXQP, 2)) { UnityEngine.UI.Outline QPYX_obj_YXQP = (UnityEngine.UI.Outline)ToLua.CheckObject <UnityEngine.UI.Outline>(L_YXQP, 1); UnityEngine.UI.VertexHelper QPYX_arg0_YXQP = (UnityEngine.UI.VertexHelper)ToLua.ToObject(L_YXQP, 2); QPYX_obj_YXQP.ModifyMesh(QPYX_arg0_YXQP); return(0); } else { return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to method: UnityEngine.UI.Outline.ModifyMesh")); } } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }
static public int ModifyMesh(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.Outline self = (UnityEngine.UI.Outline)checkSelf(l); UnityEngine.UI.VertexHelper a1; checkType(l, 2, out a1); self.ModifyMesh(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 public int ModifyMesh(IntPtr l) { try { UnityEngine.UI.Outline self = (UnityEngine.UI.Outline)checkSelf(l); UnityEngine.UI.VertexHelper a1; checkType(l, 2, out a1); self.ModifyMesh(a1); return(0); } catch (Exception e) { return(error(l, e)); } }
static public int ModifyMesh__Mesh(IntPtr l) { try { UnityEngine.UI.Outline self = (UnityEngine.UI.Outline)checkSelf(l); UnityEngine.Mesh a1; checkType(l, 2, out a1); self.ModifyMesh(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }