Build a session with Netcode for GameObjects - Unity...
In this tutorial, you create one capsule controlled by the session's host and another capsule controlled by a joining player, as well as the necessary game objects and code to add session management to your game.