-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Unity Virtual Reality Projects
By :

To make the scene run as multiplayer we need, at a minimum, a Network Manager component, and we need to identify any objects that will get spawned using the Network Identity component.
First, we'll add the Network Manager component, as follows:
Navigate to GameObject | Create Empty and rename it NetworkController
.
Navigate to Add Component | Network | Network Manager.
Navigate to Add Component | Network | Network Manager HUD.
We also added a Network Controller HUD menu, a crude default menu that Unity offers to select the runtime networking options (you can see it in the images that follow). It's for development. In a real project, you'll probably replace the default HUD with something more appropriate.
Next, add a Network Identity to the Avatar
prefab. We will also add a Network Transform, which instructs the networking system to synchronize the player's Transform values to the avatar instances on each client,...