Skip to content

Commit

Permalink
Wrap up type docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vontell committed Feb 23, 2024
1 parent 371928c commit 7c41593
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/tutorials/building-your-first-bot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,9 @@ Review the full [state documentation](/integrating-with-unity/defining-states) f

## Define the actions your bot can take

Similar to states, we will now tag the actions that a bot can take, using [`[RGAction]`](/integrating-with-unity/defining-actions). In our case, a bot can either move or attack.
Similar to states, we will now tag the actions that a bot can take, using [`[RGAction]`](/integrating-with-unity/defining-actions), as well
as indicating that the game object is controlled via a bot by using [`[RGStateType(IsPlayer = true)]`](/integrating-with-unity/defining-states#2---rgstatetype-class-level-attribute).
In our case, a bot can either move or attack.

Open the `Assets/FirstBotDemo/Demo/Scripts/Player/PlayerInputControl.cs` file, and replace its contents with the following.
This change does a few things:
Expand Down

0 comments on commit 7c41593

Please sign in to comment.