AbstractProgressBar
Abstract base class for the ProgressBar.
Read time 6 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: BindableElement
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<float>
public abstract class AbstractProgressBar : BindableElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<float>
Static Fields
Value | Description |
|---|---|
| backgroundUssClassName | USS Class Name used to style the background of the ProgressBar. |
| containerUssClassName | USS Class Name used to style the container of the ProgressBar. |
| progressUssClassName | USS Class Name used to style the progress bar of the ProgressBar. |
| titleContainerUssClassName | USS Class Name used to style the container of the title of the ProgressBar. |
| titleUssClassName | USS Class Name used to style the title of the ProgressBar. |
| ussClassName | USS Class Name used to style the ProgressBar. |
Properties
Property | Description |
|---|---|
| highValue | Sets the maximum value of the ProgressBar. |
| lowValue | Sets the minimum value of the ProgressBar. |
| title | Sets the title of the ProgressBar that displays in the center of the control. |
| value | Sets the progress value. If the value has changed, dispatches an ChangeEvent<T> of type float. |
Methods
Method | Description |
|---|---|
| SetValueWithoutNotify | Sets the progress value. |