Hi guys i have a problem i use only photon server and i wont to share some stuff like variable value between 2 client. I can correctly connect to the server and make room and connect but i wont know how can i schare variable start function etc. In unity network i used to use the RPC but in photon server don't exist how can i do??
Using Photon cloud or server? With the cloud service you can still use RPCs [RPC] above methods. With photon server you work with operations and responses, which works differently. This is the simple explanation.
in the title you can see SERVER xD BY THE way 2 answer: HOW WORK THE OPERATION AND RESPONSE SYSTEM?? I have set up my server with room etc with the photon server sdk , can i dowload photon cloud and swich to dedicate server???
1. Stop writing in caps, it is annoying. 2. Have you looked at their homepage? They actually explain it there.
If you do not understand their example i cannot help you. Maybe you should start with something easier.
Photon Cloud (and so I think Photon Server as well) has RPC calls too, exactly the same way you use in unity networking, you only need to add the attribute [PunRPC] to your function and of course the object must have PhotonView attached. You can also use a method void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info) to send variables over time.