Class AbstractProgressBar
Abstract base class for the ProgressBar.
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public abstract class AbstractProgressBar : BindableElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IBindable, INotifyValueChanged<float>
Constructors
AbstractProgressBar()
Declaration
public AbstractProgressBar()
Fields
backgroundUssClassName
USS Class Name used to style the background of the ProgressBar.
Declaration
public static readonly string backgroundUssClassName
Field Value
Type | Description |
---|---|
String |
containerUssClassName
USS Class Name used to style the container of the ProgressBar.
Declaration
public static readonly string containerUssClassName
Field Value
Type | Description |
---|---|
String |
progressUssClassName
USS Class Name used to style the progress bar of the ProgressBar.
Declaration
public static readonly string progressUssClassName
Field Value
Type | Description |
---|---|
String |
titleContainerUssClassName
USS Class Name used to style the container of the title of the ProgressBar.
Declaration
public static readonly string titleContainerUssClassName
Field Value
Type | Description |
---|---|
String |
titleUssClassName
USS Class Name used to style the title of the ProgressBar.
Declaration
public static readonly string titleUssClassName
Field Value
Type | Description |
---|---|
String |
ussClassName
USS Class Name used to style the ProgressBar.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
String |
Properties
title
Sets the title of the ProgressBar that displays in the center of the control.
Declaration
public string title { get; set; }
Property Value
Type | Description |
---|---|
String |
value
Sets the progress value. If the value has changed, dispatches an ChangeEvent<T> of type float.
Declaration
public virtual float value { get; set; }
Property Value
Type | Description |
---|---|
Single |
Implements
Methods
SetValueWithoutNotify(Single)
Sets the progress value.
Declaration
public void SetValueWithoutNotify(float newValue)
Parameters
Type | Name | Description |
---|---|---|
Single | newValue |