UCA Game Development Foundations 2 — Questions and Answers
Question 1: Which Unity component is responsible for detecting collisions without applying physics forces to the object?
- Rigidbody
- Collider set as Trigger (Correct answer)
- NavMesh Agent
- Animator
Correct answer: Collider set as Trigger
Setting a Collider's 'Is Trigger' property to true allows collision detection via OnTriggerEnter without generating physical forces.
Question 2: In Unity's coordinate system, which axis points upward by default?
- X-axis
- Z-axis
- Y-axis (Correct answer)
- W-axis
Correct answer: Y-axis
Unity uses a left-handed coordinate system where the Y-axis points upward by default.
Question 3: What is the purpose of Unity's Time.deltaTime in game logic?
- Track total game session duration
- Make movement frame-rate independent (Correct answer)
- Pause and resume the game clock
- Synchronize multiplayer timestamps
Correct answer: Make movement frame-rate independent
Multiplying movement values by Time.deltaTime ensures consistent speed regardless of frame rate.
Question 4: Which rendering mode in Unity's Standard Shader makes a surface fully opaque with no transparency?
- Transparent
- Fade
- Cutout
- Opaque (Correct answer)
Correct answer: Opaque
The Opaque rendering mode renders the material without any transparency, which is the most performant option.
Question 5: What does the term 'Game Loop' refer to in game development?
- A circular level design pattern
- The repeating cycle of input-update-render each frame (Correct answer)
- Looping background music tracks
- A recursive AI behavior pattern
Correct answer: The repeating cycle of input-update-render each frame
The game loop is the core cycle that processes player input, updates game state, and renders the scene each frame.
Question 6: In Unity, what is a Prefab used for?
- Compiling scripts faster
- Storing reusable pre-configured GameObjects (Correct answer)
- Defining camera render settings
- Creating shader graph nodes
Correct answer: Storing reusable pre-configured GameObjects
Prefabs are reusable asset templates that store a complete GameObject configuration for instantiation in scenes.
Question 7: Which Unity method is called once when a script component is first enabled and active?
- Update()
- Start() (Correct answer)
- FixedUpdate()
- LateUpdate()
Correct answer: Start()
Start() is called once on the frame when the script is first enabled, after all Awake() calls have completed.
Which Unity component is responsible for detecting collisions without applying physics forces to the object?