How could I use PUN to pass and sync double variables between players?

Options
Hi, I am trying to create an android app for muti-players by using the PUN. Right now what I have accomplished is that the app could join the lobby and create / join a room. Right now I am using two phones for testing and they could be in the same room successfully.
Here comes the problem: now I want to pass some double variables between the players. So that I could use these variables for further calculation. I am totaly new to Photon so I do not know how to do this. But I think the function is not very hard to do. All I want is just 4 double variable passed between players: like the first app could get these four double variables from the second app and the second app could get these four double variables from the first app. Both need to be real-time.
Could anyone give me some suggestion?
Thank you!

Best Answer

Answers