PlayerNumbering script issue
Options
hi,
I have an issue with using the PlayerNumbering script. I have attached it normally, but when I call the function p.getPlayerNumber(), I get indexes of first player to be 0 and second player to be -1.
Although in the gameobject it seems to show correct numbering "1,2"
So apparently from the image, it is the PlayerID i need to access ? Why does the numbering of player Index appears to be 0 and -1?
I have an issue with using the PlayerNumbering script. I have attached it normally, but when I call the function p.getPlayerNumber(), I get indexes of first player to be 0 and second player to be -1.
Although in the gameobject it seems to show correct numbering "1,2"
So apparently from the image, it is the PlayerID i need to access ? Why does the numbering of player Index appears to be 0 and -1?
0
Comments
-
Anything in the console logs?0
-
Hi, this is solved in new PUN version.
Thanks1