Spawn object on a single client?

Hi, I’d like to make an object that is only shared between a specific client and the server.

That is to say, I do not want a copy of that object sent out to all other clients. I want to spawn an object for a specific network connection, and disallow other clients from viewing that object.

I’ve included a diagram, that shows what I mean. It shows the client and server sharing an object that is unique to their connection. If you were to be on the server and looking at the hierarchy, you would see many objects. However, on the client, you would only see your own object, and not those of other clients.


Please let me know if this can be done, and how. Thank you.

1 Like

assuming you are using Unity’s Multiplayer and Networking, you’d want to use this: http://docs.unity3d.com/Manual/UNetVisibility.html