What Is Unity?
Unity is a cross-platform game engine used to develop 2D, 3D, virtual reality, and augmented reality games and applications. It offers a wide range of tools and features for game developers.
Define 'collision'.
Collision refers to the detection of when two objects in a game interact or make contact, triggering specific behaviors or responses, such as stopping movement or taking damage.
What is a variable?
A variable is a container used in programming to store data values that can be changed during the execution of a program, such as integers, floats, or strings.
What is a game loop?
A game loop is the cycle that runs continuously during gameplay, handling user inputs, updating game states, and rendering graphics to keep the game interactive and running smoothly.
What is an asset?
An asset is any resource used in game development, such as images, sounds, 3D models, animations, scripts, and textures.
Name one feature of Unity.
Unity's Real-time Rendering allows developers to see changes in lighting, textures, and animations immediately while developing the game.
What is gravity in games?
Gravity in games simulates the force that pulls objects downward, typically towards the ground, to create realistic physics for movement and interaction.
What does ‘Instantiate’ do?
The Instantiate function in Unity creates a copy of a game object or prefab at runtime, often used to spawn characters, enemies, or items.
Define ‘level design’.
The process of creating and structuring the layout, environments, and challenges of a game level to provide engaging gameplay experiences.
What is an asset bundle?
a collection of assets that can be downloaded and loaded into the game dynamically, often used to manage and reduce game file sizes.
Describe the Unity interface.
The Unity interface includes key elements like the Scene View (where you arrange game objects), the Game View (to test gameplay), the Hierarchy (lists all objects in the scene), the Inspector (displays properties of selected objects), the Project Window (manages assets), and the Console (for debugging).
What is a trigger?
A trigger is a collider set to act as an event zone that detects when an object enters, exits, or stays within it, without affecting physical interactions (e.g., for opening doors or starting events).
What is a function?
A function is a reusable block of code that performs a specific task when called, helping organize and execute operations in programming.
What is balance in games?
Balance refers to adjusting gameplay elements (like difficulty, economy, or character abilities) to ensure a fair and enjoyable experience for players.
What is version control?
Version control is a system that tracks changes in code or assets, allowing developers to manage, collaborate, and roll back to previous versions of the project.
How do you create a new project in Unity?
In Unity Hub, click "New Project," choose a template (e.g., 2D or 3D), name your project, and select a location to save it.
Explain rigidbody physics.
Rigidbody physics in Unity simulates real-world physics for objects, enabling them to move, rotate, and interact with forces like gravity and collisions.
What is the purpose of a script?
A script defines behavior for game objects, enabling them to respond to inputs, execute actions, and interact with other objects in the game.
What is player feedback?
Player feedback is the visual, audio, or haptic responses a game provides to indicate the outcome of actions (e.g., sounds for hits or UI effects for health changes).
How do you import assets?
You can import assets by dragging files into the Project Window, using the "Import New Asset" option, or importing from the Unity Asset Store.
What platforms can Unity deploy to?
Unity can deploy to platforms like Windows, macOS, iOS, Android, PlayStation, Xbox, Nintendo Switch, WebGL, and more.
What are game states?
Game states are different modes or conditions of a game (e.g., Main Menu, Gameplay, Pause) that control the behavior and flow of the game.
What is object-oriented programming?
Object-oriented programming (OOP) is a programming paradigm that organizes code into objects, which have properties (attributes) and methods (functions) to perform actions.
What is a game prototype?
A game prototype is an early version of a game used to test concepts, mechanics, and ideas before full development.
How do you optimize asset performance?
Optimize asset performance by reducing texture sizes, compressing assets, using efficient models, and minimizing draw calls to improve rendering speed and memory usage.