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

Architecture Context FactoryView inherits from BuildingLevelObjectsView. That means visuals are driven by:

In the current Factory prefab pattern:

Pre-Setup Checklist

Scene View Gizmos (BuildingView)

Main Procedure

Step 1: Duplicate a Working Prefab

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

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

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

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

Step 5: Configure "_levelsPools" and "_roofPools" 5.1. In current FactoryView setup, keep both arrays empty. 5.2. Use these arrays only if you intentionally move to pooled stack visuals.