Use this guide to create or edit a Tower prefab with all required TowerView references and team visual pools.

Architecture Context TowerView inherits from BuildingLevelStackView. That means visuals are built from three team-based pool arrays:

Tower levels are represented by pooled stacked parts. Unlike BuildingLevelObjectsView-based buildings, TowerView does not use "_buildingLevels".

Pre-Setup Checklist

Scene View Gizmos (BuildingView)

Main Procedure

Step 1: Duplicate a Working Prefab

  1. Duplicate Assets/GorodiskiGames/TowerClash/ResourcesStatic/Prefabs/Building/Tower.prefab.
  2. Rename the new prefab, for example TowerVariant.prefab.
  3. Open the duplicated prefab in Prefab Mode.

Step 2: Verify Required Hierarchy Links 2.1. Confirm these object references in TowerView:

Step 3: Configure Core Building Values 3.1. Set gameplay-related values in TowerView:

Step 4: Configure "_foundationPools" 4.1. Add one TeamPoolEntry per TeamIDType:

Step 5: Configure "_levelsPools" 5.1. Add one TeamPoolEntry per TeamIDType. 5.2. Assign level segment prefabs for each team. 5.3. Runtime creates floor segments from this pool as level grows.