Setting up a simple scene
Let's jump right in and make our own multiplayer demo project.
For instructional purposes, we'll start out with a very simple scene with a standard first-person camera to get the networking implemented. Then, we'll adapt it to VR.
Creating a scene environment
To get set up, we will make a new scene with a ground plane and a cube, then we'll create a basic first-person character.
Create a new scene by navigating to File | New Scene. Then, File | Save Scene As... and name the scene MultiPlayer
.
Create a new plane by navigating to GameObject | 3D Object | Plane, rename it GroundPlane
, and reset its Transform using the Transform component's gear icon | Reset. Make the plane bigger by setting Scale to (10, 1, 10
). Perform the following ...
Get Unity Virtual Reality Projects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.