Skip to content
This repository was archived by the owner on Aug 14, 2019. It is now read-only.

UIUpgradePanel.cs

Erik edited this page Apr 24, 2019 · 1 revision

Dependencies (What do I need to include to use this script in another projec?):
  • UIPanel
  • UIUpgradeSlots
  • PlayerUpgrades
Public Methods:
  • UpdateUI() - Iterates through the current panel's slots and displays the corresponding PlayerUpgrade at that slot. It clears the slots beyond the last upgrade.
Public Events:
  • None
Configurable Fields:
  • slotsParent - The transform that holds all UIUpgradeSlots as children.
General Overview:

Iterates through the current panel's slots and displays the corresponding PlayerUpgrade at that slot. It clears the slots beyond the last upgrade.

Clone this wiki locally