Creating UI Elements for Games in Unity
In this series of Unity tutorials we'll discuss how to create and implement UI elements created for the Unity game engine. Software required: Photoshop CS4, Unity 5 beta.
What you'll learn
In this series of Unity tutorials we'll discuss how to create and implement UI elements created for the Unity game engine. We'll begin by discussing how to properly set up and import your texture sheets. Then we'll move into laying them out onto the UI canvas and discuss how to manipulate them to get the final look we want. After that, we'll learn how to create interactive buttons and how the OnClick events work. Then we'll learn how a simple animation can be applied to create a more interesting UI. We'll even learn how to create a time bar that decreases over time once we click Start. Then we'll wrap up the Unity training by discussing some common pitfalls when trying to create a flexible UI that plays well with various screen resolutions. Software required: Photoshop CS4, Unity 5 beta.
Table of contents
- Mocking up a UI Design 10m
- Splitting the Sprites 7m
- Creating the Main Menu Canvas 8m
- Setting up the Buttons 10m
- Creating the Hud 9m
- Setting up the Timer UI 10m
- Setting up the Anchors 7m
- Adding Button Interactivity 10m
- Animating UI Elements 11m
- Fading in the Hud 8m
- Updating the Coin Count and Lives Count 7m
- Scripting the Time Bar 11m
- Cleaning up and Testing the UI 16m