Setting Names From Menu Screen Unity

I would like people to be able to set their name from the menu screen. But how can I access a variable of a player that hasnt been spawned in? I was thinking maybe creating an unatached class for each player then when the players spawned in give those values to the players values? Maybe?

I plan on setting loadout, colour, and name (probs more in the future. I have been stuck on this for days

HELP ME!!! Thank you

I code in c# btw

Take a look at Merry Fragmas 3.0 part 3. They do exactly just that in that tutorial

K i already solved it but thank you