Units
The following tutorials go through creating a new unit prefab that can be used in a map scene, configuring unit movement and adding tasks for the first time.
Article | Description |
---|---|
Create New Unit | Create a new Unit prefab and go through all its main components, including Unit Health, Unit Selection, and Unit Animator Controller components. |
Setup Unit Movement | Configure the Unit Movement, the navigation mesh agent and the Movement Manager components in order to enable pathfinding for units, explore and use movement formations. |
Add Unit to Map | Have the new building unit placed in a map scene as part of a faction slot or as a free unit and test unit movement. |
Add Movement Task | Brief introduction to the UI setup of a RTS Engine scene, handling the task UI panel and its related components and creating an Entity Component Task UI to use for a movement task, handle various options to display the task UI including different panel categories, display types and tooltips. |
Setup Unit Creator | Use the Unit Creator component to create unit entities during the game, creating and defining UI tasks for unit creation and handling the Pending Tasks Handler to allow unit creation pending tasks (tasks that require time to complete after they are launched). |
Setup Rallypoint | Add a Rallypoint to have newly created units move to a certain destination as soon as they are produced. |