Esempio n. 1
0
    private static int ResetExceptGroup(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 3);
        UIPlayTween uIPlayTween = (UIPlayTween)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIPlayTween");
        bool        boolean     = LuaScriptMgr.GetBoolean(L, 2);
        int         exceptGroup = (int)LuaScriptMgr.GetNumber(L, 3);

        uIPlayTween.ResetExceptGroup(boolean, exceptGroup);
        return(0);
    }
Esempio n. 2
0
    public static int ResetExceptGroup(IntPtr l)
    {
        int result;

        try
        {
            UIPlayTween uIPlayTween = (UIPlayTween)LuaObject.checkSelf(l);
            bool        forward;
            LuaObject.checkType(l, 2, out forward);
            int exceptGroup;
            LuaObject.checkType(l, 3, out exceptGroup);
            uIPlayTween.ResetExceptGroup(forward, exceptGroup);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }