Score problem
Options
Hello, I am using the photon point system the problem is that when I add 1 point all the players of the game are added and I just want that if the player collects a point only the local player is added to it, I am new I'm waiting for your help thanks
0
Comments
-
in player script
var Score = 0;
if (photonView.IsMine)
if (hit_something){
Score ++;//level UP
}0 -
it doesn't work or I can't make it work help....
0