Example #1
0
    public override void OnStartServer()
    {
        RTSPlayer player = connectionToClient.identity.GetComponent <RTSPlayer>();

        teamColor = player.getTeamColor();
    }