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

Placing prefabs in Multiplayer Game

$
0
0
I am trying to instantiate 3 different gameobjects on network view for 3 different players. The problem is when the server starts, first object placement is ok. Second one too. But the second prefab is again instantiated for 3rd player. Or the second prefab is repeated. How can I solve this?

//For the Server Admin
void OnServerInitialized() {


Debug.Log("Server Initialized");

if (advancedSettings.dedicated)
{
advancedSettings.showAdminMenu =...

Placing prefabs in Multiplayer Game

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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