Unity RTS Engine

  1. Home
  2. Unity RTS Engine
  3. NPC Factions
  4. NPC Unit Creator

NPC Unit Creator

The NPC Unit Creator is responsible for the creation of units for NPC factions.

When creating a new NPC Manager prefab using the RTS Engine menu. The NPC Unit Creator is a component of the new NPC Manager’s “NPCUnitManagers” child object.


  1. Independent Units: Drag and drop the unit prefabs that you want the NPC faction to create (expect the units that will be used to construct buildings, collect resources or attack units). If the NPC Manager that this component belongs to is supposed to be used for different NPC types or different faction types then you can have units that play for those different types in this list because they will be filtered once this component is initialized (meaning only the units that fit the faction type and NPC type will be activated and used by the NPC faction). Make sure that units in this list have their regulator data correctly defined.

How can we help?