Search Results for

    Show / Hide Table of Contents

    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

    image

    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.
    In This Article
    Back to top Unity RTS Engine Documentation