ManagementUpgradesPanelUI
Overview
Small header panel for the Management upgrades section. Displays the selected Patron portrait and name based on Atom values.
Serialized
- IntVariable
selectedPatron— index into the patron sprite sheet. - StringVariable
patronName— localized display name. - UI:
Image patronPortrait,TextMeshProUGUI patronNameText
Behavior
- Start()
- Sets
patronNameText.text = patronName.Value. - Loads all patron sprites from
ResourcesusingPatronSelectorUI.patronDataPathand assigns the portrait atselectedPatron.Value.
- Sets
Notes
- Ensure
Resources/contains the sprite collection atPatronSelectorUI.patronDataPathin the correct order.