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

Creating a dropdown menu with images

Let's continue working in our scene and create a drop-down menu that will allow us to swap our player character between a cat and a dog. The final version will appear as follows:

Changing our selection will then change the image of the character that appears at the top of the screen.

The spritesheet containing the dog image is an asset that I've modified from free art assets found at the following:

https://opengameart.org/content/cat-dog-free-sprites

This is the same asset that provided us with the cat sprites.

When you want to see your UI Dropdown menu in play mode, you have to press P to bring up the ...

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