NPC Type
Role
Defines a non-player controlled (NPC) faction type which in return allows to define and setup certain NPC-related components to handle the behavior of the NPC faction during the game depending on faction types.
Setup
Right click in Project tab: Create -> RTS Engine -> NPC Type
Inspector
Property | Description |
---|---|
Name | Name of the NPC type to be displayed in UI elements. |
Code | Unique code for each type of NPC. |
NPC Managers | Defines NPC Manager prefabs to be used with different faction types that the NPC faction can have. The NPC Manager prefab is one that has a component implementing the INPCManager interface. |