The Game framework is a set of functionality for general control of the scene and the Player App, and also includes a set of commonly used specialized classes.
It includes the ability to control the camera during the simulation, process messages from input devices, ensure the player interacts with the scene and objects in it.
Processing messages is as follows. First, messages from the engine are sent to the PlayScreen class (PlayScreen.cs). They can be processed there. Next, PlayScreen redirects messages to the Game Mode class, if there is one in the scene. Messages can be processed using the InputMessageEvent event.
Game Mode forwards input messages to other objects in the scene. If the Object Controlled By Player property is configured, then incoming messages will be forwarded to it. The object must be of type Input Processing or contain such an object. Input Processing is designed to process player messages.
The framework includes the implementation of character.
In order to configure character control by a player, you need to configure the properties of the Game Mode object. This object is in the scene. The Object Controlled By Player property should point to the character. You also need to configure the type of camera using the Use Built In Camera property (for example, select First Person).
Now by launching the Player App, you can control the character in a first-person view.