RPC for client
Options
Hello,
I have big problem. I have variable synchronization (OnPhotonSerializeView). Who now execute my RPC metod. My clientMaster is good, but my client execute this metod "fast ms" more time (no only one). How wait for RPC in client?
Thank you very much for answer
I have big problem. I have variable synchronization (OnPhotonSerializeView). Who now execute my RPC metod. My clientMaster is good, but my client execute this metod "fast ms" more time (no only one). How wait for RPC in client?
Thank you very much for answer
0
Comments
-
Hello,
Ok. I am sory. My english not the best. Maybe I write example.
1. I have button (UI)
2. OnClick - function in body: RPC function
3. I want change player (variable whoNow) in RPC and others action (not important)
4. Game round Player 1-> Player 2, 2->1... easy actions
4. My MasterClient good value variable, but no client
5. I see client execute RPC, but no update variable (slowly) - no change round fast.
6. This problem I see when fast (spam) click button in client (slowly update variable)
How wait on answers MasterClient in Client?
I have Serialize View for variable and I add script in observable (Photon View)
Thank you very much for answer!0