Join Jesse Freeman for an in-depth discussion in this video Group stats into columns, part of Unity 5: 2D Advanced UI.
- [Voiceover] So before we show the final score,…we're going to want to tell the player…all the stats that went in to going…to calculate that score.…Let's go back to our game over window…and right-click on the vertical layout…and create a new, empty game object.…We're going to call this stats group.…Next we'll need to give the stats group boundaries.…Next we'll want to give the stats group its dimensions…by creating a layout element.…Let's scroll down to the preferred width…and set this value to 190…and we'll set the preferred height to 72.…
As you can see,…this will begin to push out the boundaries…of the vertical layout.…Next we're going to want to create two columns…inside of the stats group.…Let's add a horizontal layout group.…Next we'll want to set the child alignment…to middle center…and we'll keep the child force expand width and height…as is.…Now let's add a new empty game object…and call it left column.…Next we'll drag a subtitle on to the left column.…
Let's replace the text…and call it left stats.…Now you'll notice our subtitle is just floating…
Unity expert Jesse Freeman helps you design your UI using custom prefabs (reusable UI elements), UI components such as windows and buttons, simple buildup animations, and transitions. He also helps you create a window manager to guide changes and relationships between windows, and extend the window system with a custom Unity editor that lets you standardize window display and navigation throughout your game.
- Creating Unity prefabs: fonts, colors, buttons, and labels
- Adding a title, credits, and buttons to the start screen
- Adding a game over screen
- Creating animated stats for the game over screen
- Transitioning between windows
- Building a keyboard window
- Mouse, keyboard, and controller navigation
- Building a custom Unity editor for managing in-game windows
- Adding a window to select difficulty level
Skill Level Intermediate
Unity 5: 2D Generate Procedural Terrainwith Dan Violet Sagmiller4h 4m Intermediate
Unity 5: 2D Building a Tile Map Editorwith Jesse Freeman1h 38m Intermediate
1. Create UI Prefabs in Unity
2. Create a Start Screen in Unity
3. Create a Game Over Screen in Unity
4. Create a Window Manager
The window manager3m 45s
5. Create a Virtual Keyboard Window
6. Extend the Window System
7. Add a Difficulty Window in Unity
- 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.