コード例 #1
0
 static public int Cull(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.Rect a1;
         checkValueType(l, 2, out a1);
         System.Boolean a2;
         checkType(l, 3, out a2);
         self.Cull(a1, a2);
         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
 }
コード例 #2
0
    static int Cull(IntPtr L)
    {
        L.ChkArgsCount(3);
        UnityEngine.UI.MaskableGraphic obj = (UnityEngine.UI.MaskableGraphic)L.ChkUnityObjectSelf(1, "UnityEngine.UI.MaskableGraphic");
        Rect arg0 = (Rect)L.ChkUserData(2, typeof(Rect));
        var  arg1 = L.ChkBoolean(3);

        obj.Cull(arg0, arg1);
        return(0);
    }
    static int Cull(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 3);
        UnityEngine.UI.MaskableGraphic obj = (UnityEngine.UI.MaskableGraphic)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UnityEngine.UI.MaskableGraphic");
        Rect arg0 = (Rect)LuaScriptMgr.GetNetObject(L, 2, typeof(Rect));
        bool arg1 = LuaScriptMgr.GetBoolean(L, 3);

        obj.Cull(arg0, arg1);
        return(0);
    }
コード例 #4
0
 static public int Cull(IntPtr l)
 {
     try {
         UnityEngine.UI.MaskableGraphic self = (UnityEngine.UI.MaskableGraphic)checkSelf(l);
         UnityEngine.Rect a1;
         checkValueType(l, 2, out a1);
         System.Boolean a2;
         checkType(l, 3, out a2);
         self.Cull(a1, a2);
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #5
0
    static int QPYX_Cull_YXQP(IntPtr L_YXQP)
    {
        try
        {
            ToLua.CheckArgsCount(L_YXQP, 3);
            UnityEngine.UI.MaskableGraphic QPYX_obj_YXQP = (UnityEngine.UI.MaskableGraphic)ToLua.CheckObject <UnityEngine.UI.MaskableGraphic>(L_YXQP, 1);
            UnityEngine.Rect QPYX_arg0_YXQP = StackTraits <UnityEngine.Rect> .Check(L_YXQP, 2);

            bool QPYX_arg1_YXQP = LuaDLL.luaL_checkboolean(L_YXQP, 3);
            QPYX_obj_YXQP.Cull(QPYX_arg0_YXQP, QPYX_arg1_YXQP);
            return(0);
        }
        catch (Exception e_YXQP)                {
            return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
        }
    }
 static int Cull(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         UnityEngine.UI.MaskableGraphic obj = (UnityEngine.UI.MaskableGraphic)ToLua.CheckObject(L, 1, typeof(UnityEngine.UI.MaskableGraphic));
         UnityEngine.Rect arg0 = (UnityEngine.Rect)ToLua.CheckObject(L, 2, typeof(UnityEngine.Rect));
         bool             arg1 = LuaDLL.luaL_checkboolean(L, 3);
         obj.Cull(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    static int Cull(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("UnityEngine.UI.MaskableGraphic.Cull");
#endif
        try
        {
            ToLua.CheckArgsCount(L, 3);
            UnityEngine.UI.MaskableGraphic obj = (UnityEngine.UI.MaskableGraphic)ToLua.CheckObject <UnityEngine.UI.MaskableGraphic>(L, 1);
            UnityEngine.Rect arg0 = StackTraits <UnityEngine.Rect> .Check(L, 2);

            bool arg1 = LuaDLL.luaL_checkboolean(L, 3);
            obj.Cull(arg0, arg1);
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }