文档

Unity Engine

Unity Engine

value

Sets the progress value. The value is clamped between lowValue and highValue.
阅读时间1 分钟最后更新于 1 个月前

Definition

public virtual float value { get; set; }

Remarks

The progress percentage is calculated as
100 * (value - lowValue) / (highValue - lowValue)
.
If the value has changed, dispatches an ChangeEvent<T> of type float.