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

My variable is jutst owned by room owner on Photon Engine

$
0
0
I done a script that when the player click on a cube, it counts i++ for that, My idea is that it count how much clicks each players done. But when I click on the scene it just i++ the owner of the room variable, it update for all clients and everybody see how much clicks the room owner did, but if I go to another client and click, the variable just change on this client, and dont update for the others.

Here is my script:
Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public...
My variable is jutst owned by room owner on Photon Engine

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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