示例#1
0
    protected override void applyTrembling(float value)
    {
        txUIObject window   = mComponentOwner as txUIObject;
        float      curValue = mStartValue + (mTargetValue - mStartValue) * value;

        window.setFillPercent(curValue);
    }
    //------------------------------------------------------------------------------------------------------------------
    protected override void applyTrembling(float value)
    {
        txUIObject window = mComponentOwner as txUIObject;

        window.setFillPercent(lerpSimple(mStartValue, mTargetValue, value));
    }
示例#3
0
    protected override void applyValue(float value, bool done = false)
    {
        txUIObject window = mComponentOwner as txUIObject;

        window.setFillPercent(value);
    }