O'Reilly logo

HoloLens Beginner’s Guide by Jason Odom

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

SkeeSpawner

In the flow of the program, once we have the machine placed how we want, we need a start button, which we deleted earlier. If you have ever played one of these games in the real world, how did you start the machine? You did so by putting a quarter or token in the machine. With that in mind, does it not make sense to use the coin slots as the start button? Well, that is what we will do.

In this case, we will only need an empty game object with a collider. We will fit that object around the coin slots so that the user can click on the coin slots to start the game.

When you are in the flow of creating a project, there are definitely different approaches you can use. For instance, we can easily create a box, attach it to the Prefab, ...

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