O'Reilly logo

Virtual Reality Blueprints by John Williamson, Charles Palmer

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

StandaloneInput module

If you have used previous versions of Unity, you may have used the Touch Input module to determine if a touch device was being activated (single press, continuous press, double-pressed, or released). As of Unity 5.6, the Touch Input module has been depreciated and replaced with the StandaloneInput module. The module works with touch devices by sending a pointer event for touching or swiping in response to a user input. It uses the scene's Raycasters to calculate which elements are being touched.

These items will be used to determine when the user is looking at an image or collection and what to do when the user taps or swipes the Gear VR trackpad.

Now that we have a better understanding of this tool, we can move on ...

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