uNet Spawning Objects
I have got everything working in my game, u can join match making, get in a game, run around and see other clients. Everything is working however i dont have a way to spawn the objects on the network.
I was hoping someone could help me in regards to spawning objects. I want the player to be able to 'pick up, 'drop and 'spawn objects / prefabs. Below is a link from unity wiki and an exert that explains what i need.
"With the server authoritative system of the Unity Network System, networked objects with NetworkIdentities must be “spawned” by the server using NetworkServer.Spawn(). This causes them to be assigned a NetworkInstanceId and be created on clients that are connected to the server"
http://docs.unity3d.com/Manual/class-NetworkIdentity.html
Thanks :)