Last updated 7 months ago
Was this helpful?
If you're using the Space Combat Kit, you can set up the player by dragging the provided Player_SCK prefab into the scene.
If you're using the Mech Combat Kit, you can set up the player by dragging the provided Player_MCK prefab into the scene.
To create a new Player:
Create a new game object and add a Game Agent component.
Go to the inspector of the Game Agent component and check the Is Player checkbox
To check if a specific game agent is the player in code, use the following:
// Check if the game agent is a player if (someGameAgent.IsPlayer) { // Run code }
To set up the player input, check out the section.
Learn about everything you can do with Game Agents (the component that is used for both Player and AI) in .