Skip to toolbar
4.4 out of 5
4.4
10 reviews on Udemy

Learn Unity’s New UI Tools

An introduction to the UI tools added in Unity 4.6, create a game primarily using those new UI tools.
Instructor:
Morgan Page
497 students enrolled
English [Auto-generated]
Create a flexible UI (User Interface) in Unity
Create a game from start to finish
Use some advanced C# ideas like yields and coroutines

Welcome to this course on Unity3D’s new UI Tools introduced in Unity 4.6.

In this course we will create a Simon Says style memory game from scratch primarily using these new UI Tools. You will become familiar with concepts like anchors, rect transforms, canvases and on the way learn some powerful C# scripting techniques like yields and coroutines.

This course is aimed at game developers who have a basic understanding of Unity and C# scripting but who need a bit of practice getting to grips with the new UI features.


Thankyou for your interest in this course, let’s create a game together.

Introduction

1
Welcome!

A brief welcome to the course.

2
What are we doing here? Who is this for?

An overview of the course content and prerequisites.

3
The Game, what is it?

A description of the game we are going to create together!

The Game - Buttons!

1
Our First Button

How to go about creating your first button.

2
Four Buttons

A first stab at creating four buttons. Although we won't end up arranging our buttons this way, it is good insight into how the anchors work.

3
A Flexible Grid of Buttons

Using layout groups to create a flexible grid of buttons. Perhaps overkill for four buttons but you could definitely use this technique for that inventory screen in your next RPG!

4
Buttons - Their True Colours

We want a little colour to our buttons. We do this in this video!

The Game - A Start Button

1
Start Button Anchors

More anchor practise, they are important to understand!

2
Start Button Text

We get familiar with the new Text component. It is very nice!

The Game - Scripting

1
Variables

Let's get started on our script, why not start with some variables?

2
Start And Bind

We learn about making our methods public so that we can invoke them from our buttons. We also bind our public variables to our UI.

3
The Sequence

We get a first stab at our most important method, NextSequence().

4
Sequence Test

Time to test what we have so far, it doesn't do much but we have a solid working foundation.

5
Emulating a Button Press

Well now we start making our buttons light up, always fun!

6
Handling a Button Press

Is the user pressing the correct buttons in the correct order? We answer that with this bit of code.

The Game - I Can't Hear Anything!

1
Sound

Sorry what was that, I can't hear you? Oh you want some sound, well your wish is my command. P.S. bfxr.net is awesome!

The Game - Finishing Moves

1
High Scores

Beat your high score. So there!

2
The Need for Speed

We should get a little faster, this code will do that.

The Game - Settings

1
Settings - Title and Volume Slider

We start work on our settings panel, a slider for volume? Seems pretty sensible.

2
Settings - Difficulty Toggle

We could use another slider for difficulty but where's the fun in that? How about a toggle group?

3
Settings - Scripting - Settings Manager

We start work on some scripting to enable saving/loading settings between game sessions.

4
Settings - Scripting - Volume Slider

We get the volume slider working!

5
Settings - Scripting - Difficulty Toggle

We (I) remember to add the toggle group and get the toggles to work, yay!

6
Settings - Scripting - MenuManager

We add a script to handle opening and closing the settings panel.

7
Settings - Settings Button and Animations

We add the settings button and create animations to open and close the settings panel.

8
Settings - Scripting - This game is so difficult!

We integrate the difficulty setting into our game.

Conclusion

1
Conclusion

You have done it! Well done! A complete game! Why not sell it on all the app stores? I don't mind, although if it makes you a millionaire, remember to wave hello from your helicopter...

The complete game is included as a zip file. Simply unzip the file and open the created folder in the latest version of Unity.


You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.4
4.4 out of 5
10 Ratings

Detailed Rating

Stars 5
6
Stars 4
2
Stars 3
2
Stars 2
0
Stars 1
0
30-Day Money-Back Guarantee

Includes

3 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion
WP Twitter Auto Publish Powered By : XYZScripts.com