- Home /
Question by
Annihilator · May 09, 2012 at 09:23 AM ·
networkingnetworkplayer
Assotiating custom attributes to a NetworkPlayer
Hey guys,
How exactly can I use NetworkPlayer to my full advantage?
Basically what I want to achieve is: - The server spawns a certain number of prefabs with an ID from 1-15 - When a client connects he passes through a "playerNumber" to the server and the server searches the prefabs by that number and activates it to NetworkPlayer that connected..
So my issue is, how do I assign the "playerNumber" to a certain NetworkPlayer?
Thanks
Comment