Add the Building Upgrade component to the building main object in order to make it upgrade-able.
- Target: An array of building prefabs that this building can upgrade to.
- Trigger Unit/Building Upgrades: When this upgrade is completed, it can trigger other unit and building upgrades when they are added to these two lists. For example, an age upgrade can be achieved by allowing one upgrade launch directly triggering upgrades for all unit and building types.
- Upgrade Effect: An effect object’s prefab that will be shown on the building’s position when the upgrade is complete. Please check this documentation page for more information about effect objects.
Displaying the upgrade task on the UI task panel requires creating an upgrade task on a Task Launcher.