static public int GetModifiedMaterial(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.MaskableGraphic self = (UnityEngine.UI.MaskableGraphic)checkSelf(l); UnityEngine.Material a1; checkType(l, 2, out a1); var ret = self.GetModifiedMaterial(a1); pushValue(l, true); pushValue(l, ret); return(2); } 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 GetModifiedMaterial(IntPtr L) { L.ChkArgsCount(2); UnityEngine.UI.MaskableGraphic obj = (UnityEngine.UI.MaskableGraphic)L.ChkUnityObjectSelf(1, "UnityEngine.UI.MaskableGraphic"); Material arg0 = (Material)L.ChkUnityObject(2, typeof(Material)); Material o = obj.GetModifiedMaterial(arg0); L.PushLightUserData(o); return(1); }
static int GetModifiedMaterial(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); UnityEngine.UI.MaskableGraphic obj = (UnityEngine.UI.MaskableGraphic)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UnityEngine.UI.MaskableGraphic"); Material arg0 = (Material)LuaScriptMgr.GetUnityObject(L, 2, typeof(Material)); Material o = obj.GetModifiedMaterial(arg0); LuaScriptMgr.Push(L, o); return(1); }
static public int GetModifiedMaterial(IntPtr l) { try { UnityEngine.UI.MaskableGraphic self = (UnityEngine.UI.MaskableGraphic)checkSelf(l); UnityEngine.Material a1; checkType(l, 2, out a1); var ret = self.GetModifiedMaterial(a1); pushValue(l, ret); return(1); } catch (Exception e) { return(error(l, e)); } }
static int QPYX_GetModifiedMaterial_YXQP(IntPtr L_YXQP) { try { ToLua.CheckArgsCount(L_YXQP, 2); UnityEngine.UI.MaskableGraphic QPYX_obj_YXQP = (UnityEngine.UI.MaskableGraphic)ToLua.CheckObject <UnityEngine.UI.MaskableGraphic>(L_YXQP, 1); UnityEngine.Material QPYX_arg0_YXQP = (UnityEngine.Material)ToLua.CheckObject <UnityEngine.Material>(L_YXQP, 2); UnityEngine.Material QPYX_o_YXQP = QPYX_obj_YXQP.GetModifiedMaterial(QPYX_arg0_YXQP); ToLua.Push(L_YXQP, QPYX_o_YXQP); return(1); } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }
static int GetModifiedMaterial(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.UI.MaskableGraphic obj = (UnityEngine.UI.MaskableGraphic)ToLua.CheckObject <UnityEngine.UI.MaskableGraphic>(L, 1); UnityEngine.Material arg0 = (UnityEngine.Material)ToLua.CheckObject <UnityEngine.Material>(L, 2); UnityEngine.Material o = obj.GetModifiedMaterial(arg0); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetModifiedMaterial(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("UnityEngine.UI.MaskableGraphic.GetModifiedMaterial"); #endif try { ToLua.CheckArgsCount(L, 2); UnityEngine.UI.MaskableGraphic obj = (UnityEngine.UI.MaskableGraphic)ToLua.CheckObject <UnityEngine.UI.MaskableGraphic>(L, 1); UnityEngine.Material arg0 = (UnityEngine.Material)ToLua.CheckObject <UnityEngine.Material>(L, 2); UnityEngine.Material o = obj.GetModifiedMaterial(arg0); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }