Skip to main content

Struct FillBarController.FillBarSliderInfo

Holds information about a slider, including its tweening behavior and color gradient effect.

[Serializable]
public struct FillBarController.FillBarSliderInfo

Fields​

SpringConfiguration​

Configuration for spring-like tweening motion applied when tweening is enabled.

[Tooltip("Spring configuration for tweening motion when TweenOverTime is enabled.")]
public SpringUtils.SpringConfig SpringConfiguration

Field Value​

SpringUtils.SpringConfig

TweenOverTime​

Whether the slider value should tween smoothly over time.

[Tooltip("Enable smooth tweening of the slider value over time.")]
public bool TweenOverTime

Field Value​

bool

effectGradient​

Gradient to evaluate and apply color effects based on the slider's normalized value.

[Tooltip("Gradient controlling the fill color based on the slider's value.")]
public Gradient effectGradient

Field Value​

Gradient

slider​

The slider UI component to control.

[Tooltip("The Slider UI component controlled by this info.")]
public Slider slider

Field Value​

Slider

  • Fields
    • SpringConfiguration
    • TweenOverTime
    • effectGradient
    • slider