II want to specify a loadout for my player, or a name from the menu screen in my multiplayer game, but since the player prefab hasnt been spawned yet, how can i set these values?
I code in C# only by the way
Thank You for your help!!!
II want to specify a loadout for my player, or a name from the menu screen in my multiplayer game, but since the player prefab hasnt been spawned yet, how can i set these values?
I code in C# only by the way
Thank You for your help!!!
Before the player has been spawned you can still use UNET messages to communicate. These can be sent from Client → Server or from Server → Client
https://docs.unity3d.com/ScriptReference/Networking.MessageBase.html
Additionally before the player is spawned you can spawn other networked (non player) objects. These can contain information (SyncVar, SyncList, RPC’s, OnSerialize/Deserialize) that is synced from Server → Clients.