Other Interactable UI Components
The most popular interactable UI components are Buttons. However, there are multiple types of interactable UI elements other than buttons. If you think of an online form you’ve filled out recently, you’ve probably interacted with buttons, text fields, and possibly a radio button or checkbox. While technically all of these interactable items can be developed with UI Buttons, UI Text, and some custom code, you don’t have to build them yourself! Unity has included, within the uGUI system, multiple commonly used interactable UI items both as GameObjects that you can edit and as components that you can add to pre-existing GameObjects.
This chapter will review all the other pre-built UI items that come with the uGUI system. After having reviewed the chapters on buttons and text, most of these objects’ properties will be familiar to you, but each interactable item has a few properties exclusive to that UI item type, so we’...