Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UsageDial

Usage Dial is a VisualElement to display a values with a color dial.
Read time 7 minutesLast updated 9 days ago

Definition

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

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