Documentation

Unity Engine

Unity Engine

UsageDial

Usage Dial is a VisualElement to display a values with a color dial.
Read time 6 minutesLast updated 2 months ago

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