User Interface Flashcards

1
Q

What is the purpose of a canvas?

A

Provide an area in which to place all UI elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does “Screen Space - Camera” Render Mode differ from “World Space”?

A

The former places the UI a fixed distance in front of the camera.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which Render Mode requires you to link the Render Camera?

A

Screen Space - Camera

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which Texture Type do we need to use for an image asset that will be used in the UI?

A

Sprite

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe the anchor.

A

Relatively defined rectangle as a starting point for the fixed offsets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of the pivot?

A

The location about which we scale and rotate.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Where do you find the text properties of a button?

A

In a separate child GameObject.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What do you need to do to a button sprite so that it can scale properly?

A

Position the borders inside the borders of the button.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When using the “ColorTint” Transition option, how do colours change the image?

A

By multiplying

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

If an image is too high resolution, how can you scale it down?

A

Increase the Pixels Per Unit of the image asset.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What do the Transition options apply to?

A

Just the handle.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which GameObjects make up a slider?

A

A background image, fill image a handle image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How does the slider change the size of the Fill GameObject?

A

By keeping a reference to its Rect Transform.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How would you change the colour of the slider fill?

A

Change the colour on the slider fill child object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly