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)); }
protected override void applyValue(float value, bool done = false) { txUIObject window = mComponentOwner as txUIObject; window.setFillPercent(value); }