Skip to Content
Mastering UI Development with Unity
book

Mastering UI Development with Unity

by Dr. Ashley Godbold
April 2018
Beginner content levelBeginner
468 pages
11h 7m
English
Packt Publishing
Content preview from Mastering UI Development with Unity

Full screen/screen portion taps

Many have a single input where you can tap anywhere on the screen to make an action happen. For example, endless runners tend to allow the player to tap or press-and-hold anywhere on the screen to jump. To achieve this, you only have to add an invisible button that covers the whole screen and receives Events. If you have another UI that receives inputs, it needs to be in front of the fullscreen button so that the button does not block the inputs to the other UI items.

Some games require that you tap in specific regions of the screen to perform specific actions. For example, I created a game called Sequence Seekers for my doctoral dissertation. This game included a down-the-mountain mode in which the player ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Game Development with Unity for .NET Developers

Game Development with Unity for .NET Developers

Jiadong Chen
Unity UI Cookbook

Unity UI Cookbook

Francesco Sapio

Publisher Resources

ISBN: 9781787125520Supplemental Content