Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Unity Game Development Essentials

You're reading from  Unity Game Development Essentials

Product type Book
Published in Oct 2009
Publisher Packt
ISBN-13 9781847198181
Pages 316 pages
Edition 1st Edition
Languages
Author (1):
Will Goldstone Will Goldstone
Profile icon Will Goldstone

Instructions scene


To finish our game, we'll complete the menu we made in Chapter 8 by creating the Instructions scene for the user to read. In this, we'll implement some animation using scripting, and we'll learn a new command that we haven't utilized yet called linear interpolation, or lerp for short.

As our Instructions scene should mimic the rest of the menu, we'll start with the Menu scene as a basis. Before we do this, however, ensure that the Island Level scene is saved by going to File | Save Scene. Duplicate the Menu scene by selecting it in the Project panel and using the keyboard shortcut Command + D (Mac) or Ctrl + D (PC).

This will duplicate the Menu scene, and give it the name Menu 1, rename this Instructions, and open it by double-clicking on its icon now.

Adding screen text

We'll need to write our instructions for the player on this screen, so we'll utilize a GUI Text object for this purpose. Go to GameObject | Create Other | GUI Text. This creates a new object with a GUI Text...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}