Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Send a data value on Photon

$
0
0
Hello, I'm using PhotonNetwork but I'm starting on the plugin, I done a simple scene, when players join on a room and enter on the scene, he can click on an box, and a variable int will count how much clicks the player done.
The problem is that my variable is unique per player, so when I click only the client see, but another players dont see how much clicks the other player done.

Here my script:
That was my last try, but info and stream are aways null
Code (CSharp):
  1. using UnityEngine;
  2. using...
Send a data value on Photon

Viewing all articles
Browse latest Browse all 16796


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