Local Player
Local Players are a fundamental feature of the Local Multiplayer module, enabling Game Creator 2 Characters to function in a local multiplayer environment.
Prerequisites
Before working with Local Players, ensure you understand how Characters work in Game Creator 2.
Setup
A Local Player requires two components:
- The
Character
component (from Game Creator 2) - The
Local Player
component
Adding these components to a GameObject enables multiplayer character control and interaction.
Key Features
Local Directional Movement
- Character movement control tailored for multiplayer
- Input handling per player instance
- Split-screen aware movement systems
Screen Center Local Interaction
- First-person interaction support in split-screen environments
- Per-player interaction handling
- Screen-space awareness for split views
Shared User Interface Navigation
- Multiple players can interact with the same canvas
- Input management for UI elements
- Split-screen UI coordination
Technical Details
Local Player extends Unity's Player Input, providing seamless integration with the Input System package.
For detailed configuration instructions, see: