Ejemplo n.º 1
0
    public static void SMOOTH_WINDOW_FILL_AMOUNT_DELAY(LayoutScript script, txUIObject obj, float delayTime, float start, float target, float time)
    {
        CommandWindowSmoothFillAmount cmd = mCommandSystem.newCmd <CommandWindowSmoothFillAmount>(false, true);

        cmd.mStartFillAmount  = start;
        cmd.mTargetFillAmount = target;
        cmd.mFadeTime         = time;
        mCommandSystem.pushDelayCommand(cmd, obj, delayTime);
    }
Ejemplo n.º 2
0
    public static void SMOOTH_WINDOW_FILL_AMOUNT(txUIObject obj, float start, float target, float time)
    {
        CommandWindowSmoothFillAmount cmd = mCommandSystem.newCmd <CommandWindowSmoothFillAmount>(false);

        cmd.mStartFillAmount  = start;
        cmd.mTargetFillAmount = target;
        cmd.mFadeTime         = time;
        mCommandSystem.pushCommand(cmd, obj);
    }