static int RecalculateMasking(IntPtr L)
 {
     L.ChkArgsCount(1);
     UnityEngine.UI.MaskableGraphic obj = (UnityEngine.UI.MaskableGraphic)L.ChkUnityObjectSelf(1, "UnityEngine.UI.MaskableGraphic");
     obj.RecalculateMasking();
     return(0);
 }
 static public int RecalculateMasking(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);
         self.RecalculateMasking();
         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 RecalculateMasking(IntPtr L)
 {
     LuaScriptMgr.CheckArgsCount(L, 1);
     UnityEngine.UI.MaskableGraphic obj = (UnityEngine.UI.MaskableGraphic)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UnityEngine.UI.MaskableGraphic");
     obj.RecalculateMasking();
     return(0);
 }
 static public int RecalculateMasking(IntPtr l)
 {
     try {
         UnityEngine.UI.MaskableGraphic self = (UnityEngine.UI.MaskableGraphic)checkSelf(l);
         self.RecalculateMasking();
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 5
0
 static int QPYX_RecalculateMasking_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 1);
         UnityEngine.UI.MaskableGraphic QPYX_obj_YXQP = (UnityEngine.UI.MaskableGraphic)ToLua.CheckObject <UnityEngine.UI.MaskableGraphic>(L_YXQP, 1);
         QPYX_obj_YXQP.RecalculateMasking();
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Esempio n. 6
0
 static int RecalculateMasking(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         UnityEngine.UI.MaskableGraphic obj = (UnityEngine.UI.MaskableGraphic)ToLua.CheckObject <UnityEngine.UI.MaskableGraphic>(L, 1);
         obj.RecalculateMasking();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    static int RecalculateMasking(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("UnityEngine.UI.MaskableGraphic.RecalculateMasking");
#endif
        try
        {
            ToLua.CheckArgsCount(L, 1);
            UnityEngine.UI.MaskableGraphic obj = (UnityEngine.UI.MaskableGraphic)ToLua.CheckObject <UnityEngine.UI.MaskableGraphic>(L, 1);
            obj.RecalculateMasking();
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }