GaugeProgressBar
A class in Root.Township, the global namespace.
A progress bar drawn with a gauge shader, with an extra alpha limit that hides the renderers at zero. Client side.
- Listed in Global namespace: E to H
- Inherits or implements
ProgressBar
Constructors
| Member | What it is |
|---|---|
GaugeProgressBar() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
3 private and internal fields
Properties
| Member | What it is |
|---|---|
float Alpha { get; set; } | Alpha limit for the gauge. Zero hides the renderers. |
override int ProgressVariable { get; } | Uses the _FillProgress shader property for progress. |
Methods
| Member | What it is |
|---|---|
protected override void OnValidate() | Editor: refreshes the bar and alpha on prefab instances. |
1 private and internal method
Used in
Members of other types that take, return or hold a GaugeProgressBar: