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

Updating Placeskee ballMachine

We need to update and add some new functionalities to Placeskee ballMachine. Mostly, we will change the update function to respond to AppState.PlaceSkeeMachine, AppState.PlaceSkeeMachineComplete, and AppState.StartGame. We will also change our Options button by renaming it to MoveBtn and then making it change whether the user is moving the machine or not. Let's carry out these steps:

  1. Open up the Placeskee ballMachine.cs file and add the following line around line 28:
  1. Save the file and head back to Unity for a moment.
  2. Find skee|UI|OptionsBtn.
  3. Rename it to MoveBtn.
  4. Now, drag the object from the Hierarchy view ...

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