/** プレイヤープレハブ。削除。 */ public void RemovePlayer(Fee.Network.Player_MonoBehaviour a_player) { if (this.my_player == a_player) { this.my_player = null; } this.player_list.Remove(a_player); }
/** プレイヤ‐プレハブ。追加。 */ public int AddPlayer(Fee.Network.Player_MonoBehaviour a_player) { if (a_player != null) { if (a_player.IsMine() == true) { this.my_player = a_player; } } this.player_list.Add(a_player); int t_playerlist_index = this.player_list.Count - 1; return(t_playerlist_index); }