I am making an AI using c# and photon for unity but it only chases the host and not players that join.
Im using GameObject.FindGameObjectsWithTag("Player"); to find all the players in the server and then choosing the closest one. Does this work with photon over a network? Is there a different way to get the gameobjects of all the players in game?
Cheers.
↧