PlayerRoomIndexing problem

Options
I am needing to identify players using the PlayerRoomIndexing.cs script for the classic version. I have attached the script to an empty game object in my scene, and from the scene view everything seems to work behind the scenes fine. But I need to find a way to check what player index each player has. I'm slightly confused as how it all works. How can I reference the player room indexing script (particularly the player index itself) in other scripts I have written.
For example, I need to say: if ( player index = 1){//then do this} (I know that isn't the right way to write it but could you please tell me what the right way is?
Thank you :)

Best Answer

Answers

This discussion has been closed.