O'Reilly logo

Mastering Oculus Rift Development by Jack Donovan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tying together the multiplayer lobby

Create a copy of your CreateCanvas and disable the original in the Inspector to hide it for now. Remove all of the buttons and images from the canvas, except the START button, so that you're left with a mostly empty menu, as shown in the following screenshot:

Tying together the multiplayer lobby

Rename the START button to BACK and change its text to BACK to match. Create a new Button object within the JoinCanvas and set Width to 350, Height to 30, and Scale to 0.01. Give it the same styling and font as the other buttons, but remove the text for now. Duplicate the button three times and arrange the four in a list, naming them Match1, Match2, Match3 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required