//for server public void AddPlayer(GameObject player) { ConnectedPlayer newPeeper = PlayerList.Instance.Get(player); Peepers.Add(newPeeper); OnTabOpened.Invoke(newPeeper); }
//for server public void AddPlayer(GameObject player) { Peepers.Add(PlayerList.Instance.Get(player)); }