Quantcast
Channel: Questions in topic: "get"
Viewing all articles
Browse latest Browse all 215

Does GameObject.FindGameObjectsWithTag("Player") work using photon ?

$
0
0
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.

Viewing all articles
Browse latest Browse all 215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>