12

Using Masks, Scrollbars, and Scroll Views

We’ve learned how to make UI that has all of its components visible on the screen at once, but often you will have UI elements that are off-screen or off-menu and not visible until you navigate to them or reveal them.

In this chapter, we will discuss the following topics:

  • How to use masks to hide portions of UI Images
  • Using Scrollbars and accessing their properties via code
  • Utilizing the UI Scroll View to create scrollable menus
  • Creating a settings menu with a mask and scrolling text

Note

All the examples shown in this chapter can be found within the Unity project provided in the code bundle. They can be found within the scene labeled Chapter12.

Each example image has a caption stating the example ...

Get Mastering UI Development with Unity - Second Edition 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.