- Home /
Question by
danlinenberg · Mar 21, 2014 at 08:33 PM ·
instantiatenetworkclient
Network.instantiate for specified clients?
Hi, question- Is it possible to use network.instantiate so that only specified clients in the network can view the instantiated objects?
My goal is to have seperate 'game instances' in the network, so that in every instance only the players of my choosing would see their instantiated objects (without using 3rd party assets like photon/smartfox).
Comment
Answer by taylank · Mar 22, 2014 at 04:17 AM
You may want to check Photon's tutorials even if you are not using Photon in your project, as they may help you answer questions similar to this.
One way is to disable the renderer component on the prefab by default, and to enable it locally right after instantiation. This way only the local instance will be visible.