AnalogGauge
is an universal analog gauge script that can be used for constructing vehicle dashboards or game UI.
It expects to have a Needle
GameObject as a child object of the script.
Prefab of a pre-configured analog gauge is included with the asset.
LockAtStart
and LockAtEnd
can be used to peg the needle at the Start Angle
or End Angle
for easier configuration. Both options only work in play mode.