MoneyCounter
Overview
Displays the current money using thousands separators and a trailing $. Color is pale gold for values > 0, red otherwise. A prediction path exists but is currently not wired.
Serialized
- FloatVariable
currentMoney - FloatEvent
moneyPrediction(unused/commented)
Behavior
- Start() → cache TMP, register
currentMoney.Changed → UpdateText, callUpdateTextonce. - UpdateText(value) → display
N0$usingInvariantCultureand set color based on sign. - OnDestroy() → unregister.