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, ...

Get HoloLens Beginner’s Guide 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.