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

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

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