[UNET/JS] How to enable local player controll
Hello!
I'm making a multiplayer game where players are spheres. When connecting, the server Network.Instantiates a player prefab (since the local Network.Instantiate does not sync with other players&the server in my tests). How do I enable my control & camera script for the player? I've tried setting the GameObject name to the NetworkPlayer.ToString ID, to GameObject.Find, but GameObject names does not sync over network after being spawned, so that did not worked either. I'm out of ideas... Any tips? Thanks!
Comment