




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A foundational exam covering gameplay scripting, asset usage, physics, UI design, scene flow, animation basics, audio integration, and game-build workflows. Ideal for students and beginners preparing for entry-level Unity development roles.
Typology: Exams
1 / 114
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. Which Unity Editor window shows the hierarchy of all GameObjects in the current scene? A) Project B) Hierarchy C) Inspector D) Console Answer: B Explanation: The Hierarchy window lists every GameObject in the active scene, allowing you to view and organize parentâchild relationships. Question 2. What does the Transform component store for a GameObject? A) Mesh data B) Material information C) Position, rotation, and scale D) Audio clips Answer: C Explanation: Every GameObject has a Transform component that defines its location, orientation, and size in the world. Question 3. Which tool in the Unity Toolbar lets you rotate a selected object? A) Move tool
B) Rotate tool C) Scale tool D) Rect tool Answer: B Explanation: The Rotate tool (shortcut âEâ) enables you to change an objectâs rotation around its pivot. Question 4. In the Scene view, holding Alt (Option on macOS) while dragging the mouse does what? A) Pans the view B) Zooms in and out C) Orbits the camera around the pivot point D) Selects multiple objects Answer: C Explanation: Alt + leftâmouse drag rotates (orbits) the Scene view camera around the current pivot. Question 5. Which of the following is NOT a builtâin Unity component? A) Rigidbody B) MeshRenderer C) AudioListener
Explanation: Keeping textures in a dedicated âTexturesâ folder follows Unityâs recommended organization for assets. Question 8. When you import a 3D model with an embedded material, Unity creates which asset type automatically? A) ScriptableObject B) Material C) Shader D) Texture2D Answer: B Explanation: Unity extracts the embedded material from the model file and creates a Material asset that can be edited. Question 9. What is the purpose of a Prefab in Unity? A) To store runtime data like player scores B) To create reusable GameObject templates that can be instantiated multiple times C) To compile scripts into DLLs D) To manage scene lighting settings Answer: B Explanation: Prefabs are asset representations of GameObjects that can be reused across scenes, preserving component configurations.
Question 10. If you modify a Prefab asset, what effect does it have on existing instances in the scene? A) All instances automatically update to match the changes unless they have overrides B) Only newly instantiated objects are affected C) Existing instances are deleted and recreated D) No effect; instances are completely independent Answer: A Explanation: Changes to the Prefab propagate to all instances, but any overridden properties on instances remain unchanged. Question 11. Which Unity feature allows you to create a variant of an existing Prefab that inherits its base behavior? A) Nested Prefab B) Prefab Instance C) Prefab Variant D) Prefab Override Answer: C Explanation: A Prefab Variant is a child Prefab that inherits from a base Prefab while allowing custom modifications.
B) while C) doâwhile D) foreach Answer: C Explanation: A doâwhile loop runs the code block first, then evaluates the condition. Question 15. Which keyword is used to define a method that does not return a value? A) void B) return C) null D) static Answer: A Explanation: The void keyword indicates the method performs actions but does not return a value. Question 16. Which collection type provides fast keyâbased lookup? A) List
D) Queue
Question 21. Which Unity class provides a simple way to store player preferences such as high scores? A) PlayerPrefs B) JsonUtility C) ScriptableObject D) PlayerData Answer: A Explanation: PlayerPrefs offers static methods to save and retrieve simple data types between sessions. Question 22. Which keyword allows a class to inherit from another class in C#? A) implements B) extends C) : (colon) D) inherits Answer: C Explanation: In C#, a colon after the class name indicates inheritance (e.g., class Dog : Animal). Question 23. What is the purpose of an interface in C#?
A) To provide concrete implementation for all methods B) To define a contract of method signatures without implementation C) To store static variables D) To enable multiple inheritance of fields Answer: B Explanation: Interfaces declare method signatures that implementing classes must define, enabling polymorphic behavior. Question 24. Which Debug method prints a message only when a condition is true? A) Debug.Log() B) Debug.Assert() C) Debug.Break() D) Debug.DrawLine() Answer: B Explanation: Debug.Assert evaluates a condition; if false, it logs an assertion failure. Question 25. What does a NullReferenceException usually indicate in Unity scripts? A) A syntax error in the code B) Attempting to access a member on a null object reference
Answer: A Explanation: A kinematic Rigidbody is not driven by the physics engine; you must move it manually. Question 28. Which Collider type is best suited for a character capsule shape? A) BoxCollider B) SphereCollider C) CapsuleCollider D) MeshCollider Answer: C Explanation: CapsuleCollider matches the typical upright, rounded shape of a character controller. Question 29. What method is called when a Collider marked as âIs Triggerâ interacts with another Collider? A) OnCollisionEnter() B) OnTriggerEnter() C) OnCollisionStay() D) OnTriggerStay() Answer: B
Explanation: Trigger colliders invoke OnTriggerEnter, OnTriggerStay, and OnTriggerExit instead of collision callbacks. Question 30. Which function applies a continuous force to a Rigidbody, taking mass into account? A) Rigidbody.AddForce() B) Rigidbody.MovePosition() C) Rigidbody.AddTorque() D) Rigidbody.velocity = ⌠Answer: A Explanation: AddForce adds a force vector that the physics engine integrates over time, respecting the objectâs mass. Question 31. How can you change the global gravity vector for all physics objects in Unity? A) Rigidbody.gravityScale B) Physics.gravity C) Transform.gravity D) Settings.gravity Answer: B Explanation: Physics.gravity is a static property that defines the direction and magnitude of global gravity.
Question 34. Which Light type emits light uniformly in a single direction, affecting the whole scene? A) Point Light B) Spot Light C) Directional Light D) Area Light Answer: C Explanation: Directional lights simulate sunlight; they have no position and affect all objects equally from a direction. Question 35. Which property of a Light determines the distance over which it attenuates? A) Color B) Intensity C) Range D) Spot Angle Answer: C Explanation: The Range defines how far a Point or Spot Light reaches before its intensity falls to zero. Question 36. What does the âMixedâ lighting mode indicate for a Light source?
A) The light is baked only B) The light is realtime only C) The light contributes to both realtime GI and baked lightmaps D) The light is disabled Answer: C Explanation: Mixed mode means the lightâs direct illumination is realtime while indirect lighting is baked. Question 37. In Unityâs Lighting window, what does âBaked Global Illuminationâ compute? A) Realâtime shadows only B) Preâcalculated indirect lighting stored in lightmaps C) Volumetric fog D) Postâprocessing bloom Answer: B Explanation: Baked GI calculates how light bounces off surfaces and stores the result in lightmaps for static objects. Question 38. Which component adds a skybox material to the sceneâs background? A) Light B) Camera
Explanation: Ctrl + Shift + toggles the Console (on Windows; on macOS use Cmd + Shift +). Question 41. What does the âStaticâ checkbox on a GameObject indicate to Unityâs lighting system? A) The object will not move and can be considered for lightmap baking B) The object will ignore physics collisions C) The object will be excluded from the build D) The object will always render on top of others Answer: A Explanation: Marking an object as Static tells Unity it wonât move at runtime, allowing it to be baked into lightmaps and occlusion data. Question 42. Which asset type is used to store reusable configuration data without attaching to a GameObject? A) Prefab B) ScriptableObject C) Material D) Scene Answer: B Explanation: ScriptableObjects hold data assets that can be edited in the inspector and referenced by scripts.
Question 43. Which method is called automatically when a script is attached to a GameObject and the scene is saved? A) OnValidate() B) Awake() C) OnEnable() D) Reset() Answer: A Explanation: OnValidate runs in the editor whenever a serialized property changes, useful for enforcing constraints. Question 44. In Unityâs UI system, which component defines the visual appearance of a button? A) RectTransform B) CanvasRenderer C) Image D) Button Answer: C Explanation: The Image component provides the sprite that the Button displays; the Button component handles interaction.