Invalidate() public method

Sets the local 'changed' flag, indicating that some parent value(s) are now be different, such as alpha for example.
public Invalidate ( bool includeChildren ) : void
includeChildren bool
return void
示例#1
0
    static int Invalidate(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        UIRect obj  = (UIRect)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIRect");
        bool   arg0 = LuaScriptMgr.GetBoolean(L, 2);

        obj.Invalidate(arg0);
        return(0);
    }
示例#2
0
    private static int Invalidate(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        UIRect uIRect  = (UIRect)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIRect");
        bool   boolean = LuaScriptMgr.GetBoolean(L, 2);

        uIRect.Invalidate(boolean);
        return(0);
    }
示例#3
0
    static int Invalidate(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        UIRect obj  = LuaScriptMgr.GetNetObject <UIRect>(L, 1);
        bool   arg0 = LuaScriptMgr.GetBoolean(L, 2);

        obj.Invalidate(arg0);
        return(0);
    }
示例#4
0
 static public int Invalidate(IntPtr l)
 {
     try {
         UIRect         self = (UIRect)checkSelf(l);
         System.Boolean a1;
         checkType(l, 2, out a1);
         self.Invalidate(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#5
0
 static int Invalidate(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UIRect obj  = (UIRect)ToLua.CheckObject <UIRect>(L, 1);
         bool   arg0 = LuaDLL.luaL_checkboolean(L, 2);
         obj.Invalidate(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
示例#6
0
    private static int Invalidate(IntPtr L)
    {
        int result;

        try
        {
            ToLua.CheckArgsCount(L, 2);
            UIRect uIRect          = (UIRect)ToLua.CheckObject(L, 1, typeof(UIRect));
            bool   includeChildren = LuaDLL.luaL_checkboolean(L, 2);
            uIRect.Invalidate(includeChildren);
            result = 0;
        }
        catch (Exception e)
        {
            result = LuaDLL.toluaL_exception(L, e, null);
        }
        return(result);
    }
示例#7
0
    public static int Invalidate(IntPtr l)
    {
        int result;

        try
        {
            UIRect uIRect = (UIRect)LuaObject.checkSelf(l);
            bool   includeChildren;
            LuaObject.checkType(l, 2, out includeChildren);
            uIRect.Invalidate(includeChildren);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }