Home
Subjects
Textbook solutions
Create
Study sets, textbooks, questions
Log in
Sign up
Upgrade to remove ads
Only $35.99/year
Obj 4.03 Program Basics
STUDY
Flashcards
Learn
Write
Spell
Test
PLAY
Match
Gravity
Terms in this set (14)
Which of the following is true about either the Start() or Update() functions in a Unity Monobehavior class?
Player input should be handled in the Update() function.
Given the inspector shown below, showing variables for "Speed" and "Player Name," which of the following lines of code would you expect to see in PlayerController.cs? (speed = 5.7 Player Name = test)
public float speed;
public string playerName;
What would be the appropriate line of code to replace the comment below?
public float[ ] values = values[5];
void Start()
{
// assign the first element in an array of 0.5
}
values[0] = 5.0f;
What would be the code required to produce the debug message shown below?
Hello world.
Debug.Log("Hello world.");
In what order do the parts of this script appear?
namespaces, class declaration, variables, functions
Which of the following lines of code is using standard Unity naming conventions?
Public Float Speed = 40.0f;
Public float Speed = 40.0f;
public float Speed = 40.0f;
public float speed = 40.0f;
Line 4
What will be the result of the code below?
If an enemy goes below the ground, destroy the enemy.
Which comment best describes the code below?
// If the player collides with a spike, destroy the spike
When working with the Unity game engine, which part of the user interface allows the designer to move around in order to place assets in the game environment when designing the scene?
Hierarchy
Which part of a game engine's user interface is used as a canvas to construct the overall game environment?
Viewports
Using the information shown in the autocomplete pop-up window below, which of the following would be a valid call of the Instantiate method?
Instantiate(objectPrefab, spawner.transform, true);
The image below shows the preferences window that allows you to change which script editing tool (or IDE) you want to use. Where would you click to choose an alternative code editing tool?
Box 1 (External Script Editor)
Which part of the game engine allows the design team to create, edit, compile and debug the code needed to run scripts in the game?
Programming interface
Which part of the user interface allows the design team to see all of the objects that have been placed in the current scene?
World outliner
Sets found in the same folder
4.02 Working With Game Assets
30 terms
Obj 4.01 - Recognize a basic game engine interface…
16 terms
Obj 4.01 Quiz
10 terms
Obj 4.01 Working with Assets Matching
26 terms
Other sets by this creator
AP Art History 250 Required Images
250 terms
Obj 4.03 Considerations for Producing Games in Sch…
9 terms
Obj 4.03 Simple Function
10 terms
Obj 4.03 Unity Basics Quiz
24 terms
Other Quizlet sets
INB ch.7
21 terms
Chapter 39 - Plant Development
56 terms
MODULE 6: SUBSTANCE ABUSE, PREVENTION AND CONTROL
73 terms