Add unit placement to scene
Step-by-step guide to add unit placement to your scene
Last updated
Step-by-step guide to add unit placement to your scene
Last updated
This package supports Unity's both new InputSystem
and the old Input
for player controls.
Steps to setup:
Drag & drop prefab FormationPlacement into your scene.
Configure FormationPlacement component:
Input section, by default all layers are selectable for raycasts.
Visual section, by default formation will be calculated and visible during active placement.
Configure UnitFormation component:
Place units on ground or use their absolute formation position for target.
Add noise to units final target positions.
Connect desired units on existing UnitFormation component
Save Scene.
Instead of using existing UnitFormation component, you can add multiple components for each of your unit groups (if units are always grouped) and reference it to the FormationPlacement component in Editor or during Runtime if focused formation has changed.
Ok, You are now done with scene set up!