World UI & Growth¶
Cargo Network Pro includes optional world-space UI and stage growth helpers.
Node World UI¶
Add CargoNodeWorldUI to scene node instances when you want a floating status panel.
The node UI can show:
- current requests
- stored cargo
- active production
The UI is generated at runtime or from scene instances. Do not add generated UI children manually to prefab assets.
Transport World UI¶
Add CargoTransportWorldUI to a vehicle when you want to see what it is carrying.
The transport UI can show carried cargo and amounts above the moving vehicle.
Growth Scatter¶
CargoNodeGrowthScatter places extra visuals as node stages complete.
Use it for:
- houses around towns
- props around factories
- carts and decoration
- visual expansion after stage unlocks
Recommended Growth Workflow¶
- Add
CargoNodeGrowthScatterto a scene node. - Add spawn prefabs.
- Configure objects per stage.
- Configure spacing and area size.
- Add
ScatterForNextStageto the stageOn Completedevent.
Generated visuals are placed under Generated Growth Visuals.
Rail Avoidance¶
Growth scatter can avoid rail connection lines, helping props stay away from tracks.
Use rail avoidance when a town or factory grows near a station or rail line.