1
00:00:04,030 --> 00:00:06,670
Hello, everybody, and welcome to Quizmaster.

2
00:00:06,700 --> 00:00:11,440
My name's Gary and I'm going to be your primary instructor for this section where we're going to learn

3
00:00:11,440 --> 00:00:14,410
all about the UI or user interface.

4
00:00:14,830 --> 00:00:19,960
So over in Unity, we're going to learn how to add a canvas to our game, which we'll use to display

5
00:00:19,960 --> 00:00:26,800
things like text and images and also accept play input via things like buttons and sliders.

6
00:00:27,570 --> 00:00:31,290
Now everything we learn in this section is going to be really transferable.

7
00:00:31,290 --> 00:00:36,420
So in future projects, if you ever need to display a health bar or some score text to the player,

8
00:00:36,420 --> 00:00:39,000
you can use these exact same techniques.

9
00:00:39,650 --> 00:00:44,590
For our quiz game in particular, we're going to need a way of storing our question data.

10
00:00:44,600 --> 00:00:48,980
And for this, we're going to use something called a script object, which is a little bit different

11
00:00:48,980 --> 00:00:52,130
to the regular mono behaviors that you've encountered so far.

12
00:00:52,730 --> 00:00:58,640
Then once we've got this data stored, we're going to need a way of using this in our normal script.

13
00:00:59,000 --> 00:01:04,310
For this, we're going to be using lists and arrays, which are ways of storing collections of the same

14
00:01:04,310 --> 00:01:05,510
type of variable.

15
00:01:05,630 --> 00:01:10,310
And then to iterate through those collections, we're going to use something called a for loop.

16
00:01:10,640 --> 00:01:13,310
So we've got plenty of work to do for our quiz game.

17
00:01:13,310 --> 00:01:14,960
So let's dive right in.

