Ejemplo n.º 1
0
    private static int ResetByGroup(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 3);
        UIPlayTween uIPlayTween = (UIPlayTween)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIPlayTween");
        bool        boolean     = LuaScriptMgr.GetBoolean(L, 2);
        int         resetGroup  = (int)LuaScriptMgr.GetNumber(L, 3);

        uIPlayTween.ResetByGroup(boolean, resetGroup);
        return(0);
    }
Ejemplo n.º 2
0
    public static int ResetByGroup(IntPtr l)
    {
        int result;

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