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

Horizontal and circular health/progress meters

Let's get back to our main scene. Duplicate the Chapter5 scene to create a Chapter6 scene.

In this section, we'll cover how to create two types of progress meters, a horizontal one and a vertical one, as shown:

We'll hook up the circular and horizontal progress meters so that they both display the progress of the same variable and we can watch them both change at the same time.

The circular progress meter doesn't really fit in the master scene that we've been building and we'll hide it after this chapter, but circular progress bars are common game elements, and it's hard to find information on ...

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