Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Spawn objects from clients UNET

$
0
0
Hello, I'm testing the UNET system trying to switch my game from the old one to the new one, but I'm having some troubles.

I already setup the server and the client with the network manager.

I've spawned the player prefab (this object will control other players prefabs)
There's a point which I need to spawn an object from the player prefab (this object has a NetworkIdentity and the player will control that object).

If I spawn the object from the Client using

Code (CSharp):
  1. GameObject go=...
Spawn objects from clients UNET

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>