Quantcast
Channel: Latest Questions by MiniForge
Viewing all articles
Browse latest Browse all 21

Networking HLAPI Spawning Objects

$
0
0
Hello, I have been reading through the new networking manual and ran into a few pretty simple questions. http://docs.unity3d.com/Manual/UNetSpawning.html > "there is a registration step that> clients have to perform; they must> call ClientScene.RegisterPrefab to> tell the system about the asset that> the client object will be created> from" Lets say I want to call NetworkServer.Spawn(prefabHere); on the server... 1. Is this the correct function to call? 2. Do I need to register the prefab? 3. If so do I use ClientScene.RegisterPrefab or another class/function?

Viewing all articles
Browse latest Browse all 21

Trending Articles