PUN 2 - Get Custom Properties Of Players

Options
Hi everyone,

I tried looking for documentation to find my solution to this but have had no luck. I am trying to access each player's custom properties to check their team.

this is what I want: PhotonNetwork.Player.GetCustomProperties["Team"].ToString();

How can I do this in PUN2?

Thank you!

Comments