
C# - Unity Quiz
Authored by James Fleming
Computers
6th - 9th Grade
Used 69+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If you want to apply Gravity what component would you want to add to a gameobject?
RigidBody(2d or 3d)
Image
A Custom Script
Box Collider
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the section called where all your GameObjects are housed?
Game
Inspector
Hierarchy
Console
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In code what line of code would you use to access a component on the Gameobject the script is attached to?
accessComponent(component)
getcomponent(component)
findComponent(component)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
On UI what is the component called that houses the UI?
Container
UI Holder
Canvas
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of this code?
x=56;
//x=2;
x+=9;
print(x)
Error
65
66
11
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
To add a particle effect how would you instantiate the effect?
Instantiate a prefab of the object by calling Instantiate(obj, place, rotation)
Check the instantiate effect button.
Call the summon function and summon the particle effect by typing Summon(obj)
Leave the effect in the scene and it will instantiate itself
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How would you declare a function that has no return and is public?
function MyFunction()
public void MyFunction()
public MyFunction()
MyFunction:
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?