WorksheetsRPG (Lessons 25 - 36) Worksheet
Total questions: 15
Worksheet time: 4hrs 45mins
Which of the following variable declarations uses a reference data type?
public int CalculatedXP;
public SpiderBossAI SpiderAIScript;
public static int GlobalSpider;
void DeductPoints (int DamageAmount)
Which Inspector panel controls whether a button is enabled and how it will visibly change when a user clicks on the button?
Transform
Button (Script)
Image (Script)
Sprite Renderer
What happens when a user clicks on a Unity button?
Unity will call a function you have selected on an object you have selected under the On Click() panel
Unity will automatically call the OnClick() function on any script attached to the Button object
Unity will automatically call the OnClick() function on all scripts found within that scene
You can query for that button click state within an Update() function
How do you attach a script function to a Unity Button?
Type in the name of the function next to the "Function" setting in the Inspector panel
Click the plus button under the On Click() setting, select a GameObject from the Hierarchy, and then select a function on a script attached to that object
Double-click on the script in the Assets panel, then select the function name
Drag the script asset onto the Button object in the Hierarchy panel
What term is used to describe a change in an image width and height, in pixels, while still showing the entire image area?
Converting
Cropping
Rasterizing
Resizing
What process is used to remove the unwanted parts of an image in order to display only a smaller area?
Converting
Cropping
Rasterizing
Resizing
What does the Rect Transform component control on the Text object?
The actual value of the display text
The location of the text within the scene
The size, color, and other text font properties
The name of the linked script variable
Which attribute do you use to change the color of the button when it is clicked?
Normal Color
Highlighted Color
Pressed Color
Disabled Color
Which attribute do you use to change the color of the button when the mouse is over it?
Normal Color
Highlighted Color
Pressed Color
Disabled Color
Which attribute do you use to change the color of the button when nothing is happening?
Normal Color
Highlighted Color
Pressed Color
Disabled Color
This Post Processing Stack attribute is the process of altering or correcting the color and luminance of the final image. You can think of it like applying filters in software like Instagram.
Anti-aliasing
Motion Blur
Color Grading
Depth of Field
This Post Processing Stack attribute offers a set of algorithms designed to give a smoother appearance to graphics.
Anti-aliasing
Motion Blur
Color Grading
Depth of Field
This Post Processing Stack attribute is a common post-processing effect that simulates the focus properties of a camera lens. The effect can display the results of a focused mid-ground but a de-focused background and foreground.
Anti-aliasing
Motion Blur
Color Grading
Depth of Field
This Post Processing Stack attribute is a common post-processing effect that simulates the blurring of an image when objects filmed by a camera are moving faster than the camera’s exposure time.
Anti-aliasing
Motion Blur
Color Grading
Depth of Field
What is the effect of deactivating a GameObject?
The object will be deleted from the scene
The object will freeze on the screen
The object script will go into an infinite loop
All of the components attached to that object will stop working
