Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

Making variable local to Master client

$
0
0
Hey, I'm working on a multiplayer game in which the number of max players per room is 2. there are different rounds for a match and it works perfectly. Photon is great. but my only problem is I want master client to select the number of rounds and when these rounds completes the result panel shows on both the screens. But in this process i'm unable to declare an integer limited to the scope of master and the client can only get it with the reference of master.

Or simply how can i get a component of a master client i.e GetComponent(); of a master client.

Viewing all articles
Browse latest Browse all 8947

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>