Свойство | Тип | Описание | |
---|---|---|---|
current | UIProgressBar, | ||
numberOfSteps | int | ||
onChange | List |
||
onDragFinished | OnDragFinished | ||
thumb | Transform |
Свойство | Тип | Описание | |
---|---|---|---|
mCam | Camera | ||
mIsDirty | bool | ||
mOffset | float | ||
mTrans | Transform |
Метод | Описание | |
---|---|---|
ForceUpdate ( ) : void |
Update the value of the scroll bar.
|
Метод | Описание | |
---|---|---|
LocalToValue ( Vector2 localPos ) : float |
Calculate the value of the progress bar given the specified local position.
|
|
OnStart ( ) : void |
Functionality for derived classes.
|
|
OnValidate ( ) : void |
Invalidate the scroll bar.
|
|
ScreenToValue ( Vector2 screenPos ) : float |
Drag the scroll bar by the specified on-screen amount.
|
|
SetThumbPosition ( Vector3 worldPos ) : void |
Set the position of the thumb to the specified world coordinates.
|
|
Start ( ) : void |
Register the event listeners.
|
|
Update ( ) : void |
Update the value of the scroll bar if necessary.
|
|
Upgrade ( ) : void |
Used to upgrade from legacy functionality.
|
protected LocalToValue ( Vector2 localPos ) : float | ||
localPos | Vector2 | |
Результат | float |
protected ScreenToValue ( Vector2 screenPos ) : float | ||
screenPos | Vector2 | |
Результат | float |
protected SetThumbPosition ( Vector3 worldPos ) : void | ||
worldPos | Vector3 | |
Результат | void |
static public UIProgressBar, current | ||
Результат | UIProgressBar, |