
Introduction to Unity Meetup 4
Authored by Nicolas Barone
Education
2nd Grade - Professional Development
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
[NEW] If it says, “Hello there!” in the console, what code was used to create that message?
Debug(“Hello there!”);
Debug.Log("Hello there!");
Debug.Console(“Hello there!”);
Debug.Log(Hello there!);
2.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
If you want to destroy an object when its health reaches 0, what code would be best in the blank space below?(See live stream for code)
private in health = 0;
void Update() {
if (________________) {
Destroy(gameObject);
}
}
health > 0
health.0
health < 1
health < 0
3.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
The code below creates an error that says, "error CS1503: Argument 1: cannot convert from 'UnityEngine.GameObject[]' to UnityEngine.Object'". What could you do to remove the errors?
public GameObject[] enemyPrefabs;
void Start()
{
Instantiate(enemyPrefabs);
}
On line 1, change "enemyPrefabs" to "enemyPrefabs[0]"
On line 3, change "Start()" to "Update()"
On line 5, change "enemyPrefabs" to "enemyPrefabs[0]"
4.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Which comment best describes the following code?
public class PlayerController : MonoBehaviour
{
//Comment
private void OnTriggerEnter(Collider other){
Destroy(other.gameObject);
}
}
//If player collides with another object, destroy player
//If enemy collides with another object, destroy the enemy
//If player collides with a trigger, destroy player
//If player collides with another object, destroy the other object
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
If you want to move the character up continuously as the player presses the up arrow, what code would be best in the two blanks below"
if (Input.___________(__________))
{
transform.Translate(Vector3.up);
}
GetKey(KeyCode.UpArrow)
GetKeyDown(UpArrow)
GetKeyUp(KeyCode.Up)
GetKeyHeld(Vector3.Up)
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
[NEW] What will happen when a red ball with a RigidBody and Collider component collides with another blue ball with RigidBody but NO Collider component?(Gravity is disabled)
The balls will go through eachother
The red will bounce off the blue ball
The blue ball will bounce off the red ball
They will both bounce off eachother
7.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
[NEW] What will happen when a red ball with NO RigidBody and a Collider component collides with another blue ball with RigidBody and a Collider component?(Gravity is disabled)
The balls will go through eachother
The red ball will bounce off the blue ball
The blue ball will bounce off the red ball
They will both bounce off eachother
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?
Similar Resources on Wayground
15 questions
What is he doing?
Quiz
•
3rd Grade
15 questions
Preposition of Place Reviewer
Quiz
•
4th - 7th Grade
10 questions
We Are The Ship - 3rd-4th Inning
Quiz
•
5th Grade
13 questions
SIMPLE PRESENT VS. PRESENT CONTINUOUS
Quiz
•
University
15 questions
Syllable Division
Quiz
•
KG - 12th Grade
15 questions
Paragraph Structure
Quiz
•
4th - 6th Grade
13 questions
Properties of Matter Review
Quiz
•
4th Grade
10 questions
KONSEP KEBIDANAN
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Education
9 questions
4th Grade STAAR reading Vocabulary
Quiz
•
4th Grade
31 questions
What Do You Know About the ACT?
Quiz
•
9th - 12th Grade
16 questions
Equivalent Fractions
Quiz
•
5th Grade
10 questions
Colonies Voc. #1
Quiz
•
3rd Grade
10 questions
Discover Your Career Personality Type
Interactive video
•
7th Grade
70 questions
VA Teachers for Tomorrow Review
Quiz
•
12th Grade
18 questions
Wordly Wise Book 3 Lesson 9
Quiz
•
3rd Grade
12 questions
3rd Grade Editing and Revising Practice Quiz
Quiz
•
3rd Grade