Use this guide to create or edit an Artillery prefab with all required ArtilleryView references.

Architecture Context ArtilleryView combines logic from:

Artillery visuals are driven by two systems:

Pre-Setup Checklist

Scene View Gizmos (BuildingView)

Main Procedure

Step 1: Duplicate a Working Prefab

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

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

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

3.2. Recommended:

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

Step 5: Configure "_levelsPools" and "_roofPools" 5.1. In the current Artillery pattern, these are usually empty. 5.2. Use them only if you intentionally want runtime-instantiated floors/roof from pools.