private void Spawn() { foreach (var player in PhotonNetwork.PlayerList) { int baseCharacterIndex = BaseCharacterIndexExtensions.GetBaseCharacterIndex(player); Poring poring = GameObject.Instantiate(m_propertyStarter[baseCharacterIndex].Prefab, StartNode.transform.position, Quaternion.identity).GetComponent <Poring>(); poring.PlayerName = player.NickName; m_player.Add(poring); StartNode.AddPoring(poring); poring.Init(m_propertyStarter[baseCharacterIndex]); } SetCurrentPlayer(m_player[0]); m_currentPlayer.Index = IndexCurrentPlayer = 0; }