文档

Unity Engine

Unity Engine

UsageDial

Usage Dial is a VisualElement to display a values with a color dial.
阅读时间6 分钟最后更新于 2 小时前

Definition

public class UsageDial : VisualElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler

Constructors

Constructor

Description

UsageDial()Constructor, setups the usage dial with its correct percentages.

Properties

Property

Description

ShowLabelIf the usage dial should show the percentage label.
ValueA value the usage dial should represent.

Methods

Method

Description

SetThresholdsChange the percentage levels of the dial.

Inheritance

Inherited Members