We have seen the basics of how a Brain functions when we looked at the earlier Unity example. There are a number of different types of brains from Player, Heuristic, Internal, and External. For our simple example, we are going to set up a Player brain. Follow these steps to configure the Brain object to accept input from the player:
- Locate the Brain object in the Hierarchy window; it is a child of the Academy.
- Select the Brain object and set the Player inputs, as shown in the following screenshot:
- Save your scene and project.
- Press Play to run the scene. Type any of the keys