Access every other players position

Options
I want to use a ray to see if the two players can see each other. I am using a prefab to set up the players. Is there an easy way to get each players transform?

Comments

  • vadim
    Options
    If you have reference to GameObject then just get its transform property. Or use transform property of MonoBehaviour attached to the object.