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

Slider component

The parent Slider object has a Slider component. It has all the properties common to the interactable UI objects along with a few that are exclusive to Sliders:

The Fill Rect property assigns the Rect Transform of the object that displays the Image of the filled area. By default, this is the Fill GameObject's Transform component. You'll note that on the Rect Transform component of the Fill, a message stating Some values driven by Slider is displayed. This is indicating that the values are changed based on the Slider component. While playing the scene, if you move the Handle of the Slider, you will not see the Rect Transform ...

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