# Unity (Game Engine)

> A popular game engine for 2D and 3D games. You script it in C#.

**Field:** Software Development  
**Category:** Game Development  
**Also known as:** Unity Engine, Unity3D, Unity Editor, Unity 6

## Think of it like

Think of it like a big toolbox that fits in any car. It builds small and big games alike.

## Definition

Unity is a game engine for 2D and 3D games, scripted in C#. It is widely used for phone games and small studio games. You build scenes in its editor and add C# scripts to game objects. It can build one game for phones, computers, consoles and VR headsets. It has a large store of ready-made assets.

## Example

Jack builds his first phone game in Unity. He drags a ball into the scene and adds a C# script to make it bounce.

## Example code

```csharp
void Update() {
    transform.Translate(Vector3.forward * speed * Time.deltaTime);
}
```

A Unity script that moves its object forward a bit each frame.

## Why it matters

Many tutorials, assets and jobs use it. That makes it an easy place to start.

## Common mistake

Mixing it up with the design idea of unity. This entry is the game engine.

## Three principles

- **C# scripts.** Game logic is written in C#.
- **2D and 3D.** It handles both kinds of game.
- **Many platforms.** Phones, computers, consoles and VR.

## Related terms

- [Game Engine](https://learn.benibix.com/term/development/game-engine)
- [C#](https://learn.benibix.com/term/development/c-sharp)
- [Unreal Engine](https://learn.benibix.com/term/development/unreal-engine)
- [Godot Engine](https://learn.benibix.com/term/development/godot)
- [Game Object](https://learn.benibix.com/term/development/game-object)
- [Delta Time](https://learn.benibix.com/term/development/delta-time)

## Told apart from

- [Unity vs Unreal Engine](https://learn.benibix.com/compare/unity-vs-unreal-engine): People think Unity and Unreal Engine are two names for the same kind of tool, and for most games they are not a free swap. Unity is scripted in C# and is common for phone games and small studios. Unreal uses C++ and Blueprints and is known for lifelike 3D. Unreal takes 5 percent of what a game earns past 1 million dollars. Unity charges a yearly fee per seat instead.

![A table of four game engines. Unity is scripted in C# and known for mobile and indie games in 2D and 3D. Unreal Engine is scripted in C++ and Blueprints and known for big 3D games with lifelike pictures. Godot is scripted in GDScript or C# and is free and open source under the MIT licence. Roblox Studio, lit up, is scripted in Luau and makes games that live inside Roblox.](https://learn.benibix.com/diagrams/dev2-game-engines.svg)

---

Source: https://learn.benibix.com/term/development/unity-game-engine
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
