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

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

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