ParentHasChanged() публичный Метод

Call this function when the rectangle's parent has changed.
public ParentHasChanged ( ) : void
Результат void
Пример #1
0
    static int ParentHasChanged(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        UIRect obj = (UIRect)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIRect");

        obj.ParentHasChanged();
        return(0);
    }
Пример #2
0
    static int ParentHasChanged(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        UIRect obj = LuaScriptMgr.GetNetObject <UIRect>(L, 1);

        obj.ParentHasChanged();
        return(0);
    }
Пример #3
0
 static public int ParentHasChanged(IntPtr l)
 {
     try {
         UIRect self = (UIRect)checkSelf(l);
         self.ParentHasChanged();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Пример #4
0
 static int ParentHasChanged(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         UIRect obj = (UIRect)ToLua.CheckObject <UIRect>(L, 1);
         obj.ParentHasChanged();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Пример #5
0
    public static int ParentHasChanged(IntPtr l)
    {
        int result;

        try
        {
            UIRect uIRect = (UIRect)LuaObject.checkSelf(l);
            uIRect.ParentHasChanged();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #6
0
    private static int ParentHasChanged(IntPtr L)
    {
        int result;

        try
        {
            ToLua.CheckArgsCount(L, 1);
            UIRect uIRect = (UIRect)ToLua.CheckObject(L, 1, typeof(UIRect));
            uIRect.ParentHasChanged();
            result = 0;
        }
        catch (Exception e)
        {
            result = LuaDLL.toluaL_exception(L, e, null);
        }
        return(result);
    }