Example #1
0
    public static Delegate UnityEngine_RectTransform_ReapplyDrivenProperties(LuaFunction func, LuaTable self, bool flag)
    {
        if (func == null)
        {
            UnityEngine.RectTransform.ReapplyDrivenProperties fn = delegate(UnityEngine.RectTransform param0) { };
            return(fn);
        }

        if (!flag)
        {
            UnityEngine_RectTransform_ReapplyDrivenProperties_Event target = new UnityEngine_RectTransform_ReapplyDrivenProperties_Event(func);
            UnityEngine.RectTransform.ReapplyDrivenProperties       d      = target.Call;
            target.method = d.Method;
            return(d);
        }
        else
        {
            UnityEngine_RectTransform_ReapplyDrivenProperties_Event target = new UnityEngine_RectTransform_ReapplyDrivenProperties_Event(func, self);
            UnityEngine.RectTransform.ReapplyDrivenProperties       d      = target.CallWithSelf;
            target.method = d.Method;
            return(d);
        }
    }
    public static Delegate UnityEngine_RectTransform_ReapplyDrivenProperties(LuaFunction func, LuaTable self, bool flag)
    {
        if (func == null)
        {
            UnityEngine.RectTransform.ReapplyDrivenProperties fn = delegate(UnityEngine.RectTransform param0) { };
            return fn;
        }

        if(!flag)
        {
            UnityEngine_RectTransform_ReapplyDrivenProperties_Event target = new UnityEngine_RectTransform_ReapplyDrivenProperties_Event(func);
            UnityEngine.RectTransform.ReapplyDrivenProperties d = target.Call;
            target.method = d.Method;
            return d;
        }
        else
        {
            UnityEngine_RectTransform_ReapplyDrivenProperties_Event target = new UnityEngine_RectTransform_ReapplyDrivenProperties_Event(func, self);
            UnityEngine.RectTransform.ReapplyDrivenProperties d = target.CallWithSelf;
            target.method = d.Method;
            return d;
        }
    }