@Tobias
I added few bots in the game as players by
now when the bot loses the game I want to kick him so I am calling
but PhotonNetwork.CurrentRoom.Players, PhotonNetwork.PlayerList, PhotonNetwork.CurrentRoom.PlayerCount nothing is being affected I am not able to remove the bots from the game from the master client
So is there a different way to add bots as players since I need to use PUNTurnManager or a way to remove bots from the playerlist?
I added few bots in the game as players by
PhotonNetwork.CurrentRoom.AddPlayer(bot); //bot is derived from Photon.Realtime.Player
now when the bot loses the game I want to kick him so I am calling
PhotonNetwork.CloseConnection(bot);
but PhotonNetwork.CurrentRoom.Players, PhotonNetwork.PlayerList, PhotonNetwork.CurrentRoom.PlayerCount nothing is being affected I am not able to remove the bots from the game from the master client
So is there a different way to add bots as players since I need to use PUNTurnManager or a way to remove bots from the playerlist?