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