Join Sue Blackman for an in-depth discussion in this video Hooking up an in-game menu, part of Unity 3D: 3.5 Essential Training.
Now let's see about hooking the little menu up with the new buttons and improving its functionality.…We don't have a visible cursor to pick the buttons with, and the little menu…shouldn't really show up until we call it.…Lucky for us, the framework is already there, the escape functionality.…Let's open the Game Manager script. I'm going to select the Game Manager and…from there open the Game Manager script.…We're going to make a flag for when the menu should show.…
So I'm going to go out to my Snippets file, Exercise Files13-06/Code Snippets,…and we're going to add this variable, it's going to be an internal variable…name showmenu, it's going to be of type Boolean, and we're going to start it out as false.…Right-click, Copy, and we'll add our new variable underneath the existing one, Ctrl+V to paste.…
In the escape conditionals, we need to set it on or off. We'll do that with…showmenu equals true and showmenu equals false.…I'm going to copy my showmenu variable and enter to give myself some space, Ctrl+V to paste.…
- Understanding game and level design theory
- Organizing your project in Unity
- Creating and transforming objects
- Setting up the geometry
- Painting in terrain, textures, and trees
- Adjusting the render settings
- Importing terrains
- Creating a first-person controller
- Creating materials and shaders
- Lighting the game
- Working with cameras and multiple views
- Animating characters and assets
- Creating fire with particle systems
- Managing the GUI (graphical user interface)
Skill Level Beginner
1. Exploring Unity 3D
2. Exploring the Terrain Editor
3. Creating the Environment
Publishing project settings3m 37s
4. Introducing Unity Scripting
5. In-Game Scripting
6. Working with GameObjects and Components
7. Exploring Prefabs
8. Using Imported Assets
9. Understanding Lighting
10. Keyframing Animation
11. Animating Skinned Meshes and Controlling Characters
12. Working with Cameras and Layers
13. Creating Game GUIs
14. Extra Techniques and Features
What's next1m 13s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.