Im wondering on how to add teams to unity allowing a player to be assigned either team 1 or team 2 Also wondering would I set this all up in the onserveraddplayer?
public override void OnServerAddPlayer(NetworkConnection conn, short playerControllerId)
{
var player = (GameObject)GameObject.Instantiate(playerPrefab, spawns.position, Quaternion.identity);
NetworkServer.AddPlayerForConnection(conn, player, playerControllerId);
Debug.Log("Client has requested to get his player added to the game");
}