Responding to User Events for Interactive UIs

In this chapter, we will cover the following:

  • Creating UI Buttons to move between scenes
  • Animating button properties on mouse-over
  • Organizing image panels and changing panel depths via buttons
  • Displaying the value of an interactive UI Slider
  • Displaying a countdown timer graphically with a UI Slider
  • Setting custom mouse cursors for 2D and 3D GameObjects
  • Setting custom mouse cursors for UI controls
  • Interactive text entry with an Input Field
  • Toggles and radio buttons via Toggle Groups
  • Creating text and image icon UI Dropdown menus
  • Displaying a radar to indicate the relative locations of objects

Get Unity 2018 Cookbook - Third 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.