示例#1
0
    //for server
    public void AddPlayer(GameObject player)
    {
        ConnectedPlayer newPeeper = PlayerList.Instance.Get(player);

        Peepers.Add(newPeeper);
        OnTabOpened.Invoke(newPeeper);
    }
示例#2
0
 //for server
 public void AddPlayer(GameObject player)
 {
     Peepers.Add(PlayerList.Instance.Get(player));
 }