Skip to content
Tutorials Center
My learning

Topics

Unity Tutorial

Learn Unity step by step: 36 lessons in 9 chapters with examples, quizzes, diagrams and projects.

Start learning →

of lessons completed

Getting Started

  1. 1 What Is Unity? Learn what the Unity game engine is, what you can build with it, how projects are organized, what C# has to do with it, and what you need to know before you start.
  2. 2 Install Unity and Create Your First Project Install Unity Hub and the Unity Editor, pick a version and template, create your first project, and understand the folders Unity generates and what to keep in version control.
  3. 3 Your First Scene Build your first Unity scene: add a floor, a cube and a light, move and rotate objects with the gizmos, save the scene, press Play, and make the cube fall with physics.
  4. 4 The Game Loop: How Unity Runs Your Game Understand the game loop behind every Unity game: frames, delta time, Update versus FixedUpdate, the order of events in one frame, and a runnable C# loop you can experiment with.

Editor and Project Basics

  1. 5 A Tour of the Unity Editor Windows Learn every main Unity Editor window: Scene, Game, Hierarchy, Inspector, Project, Console, toolbar and layouts, with shortcuts and tips for working fast.
  2. 6 GameObjects and Components Understand GameObjects, components, tags, layers and the active state in Unity, and build objects in code with AddComponent, with runnable plain C# stand-ins.
  3. 7 Transforms and Coordinate Systems Master the Unity Transform: left-handed axes, position, rotation with Euler angles and quaternions, scale, parenting, local versus world space, and the vector math behind it, with runnable stand-ins.
  4. 8 Prefabs, Assets and Scenes Learn how Unity assets, prefabs, prefab variants, overrides and scenes work, how to organize the Assets folder, and how to load scenes from code, with runnable stand-ins.

C# Scripting

  1. 9 Your First C# Script Write your first Unity C# script: create it, understand the MonoBehaviour template, attach it, log to the Console, handle errors, and test the logic with a runnable plain C# stand-in.
  2. 10 Lifecycle Methods: Awake, Start, Update and More Learn the order of Unity's MonoBehaviour event methods: Awake, OnEnable, Start, Update, FixedUpdate, LateUpdate, OnDisable, OnDestroy, and which one to use for what.
  3. 11 Inspector Fields and Attributes Expose script variables in the Unity Inspector with public and SerializeField, organize them with Header, Range, Tooltip and Space attributes, and understand serialization rules, with runnable stand-ins.
  4. 12 Time and Frame-Independent Movement Move objects smoothly in Unity: Time.deltaTime, Translate versus position, MoveTowards, Lerp and SmoothDamp, timers and cooldowns, with runnable C# simulations of each technique.
  5. 13 Finding and Referencing Components Learn how Unity scripts talk to each other: GetComponent, TryGetComponent, children and parents, Find, FindFirstObjectByType, Inspector references, null checks and events.
  6. 14 Instantiate, Destroy and Coroutines Create and remove objects at run time with Instantiate and Destroy, wait and sequence actions with coroutines and yield, and see how coroutines work with runnable C# iterators.

Physics and Collisions

  1. 15 Rigidbody and Colliders Learn how Unity physics works: Rigidbody mass, drag and gravity, kinematic bodies, collider shapes, static versus dynamic colliders, moving rigidbodies and runnable overlap tests.
  2. 16 Collision and Trigger Events React to physics contacts in Unity: OnCollisionEnter, Stay and Exit, OnTriggerEnter, the collision matrix of which events fire, the Collision data, pickups and damage zones.
  3. 17 Raycasting and Layers Use Physics.Raycast in Unity to detect what is ahead, below or under the mouse: RaycastHit, LayerMask filtering, SphereCast, OverlapSphere, debug drawing, with runnable ray math.
  4. 18 Forces, Physics Materials and Joints Apply forces and impulses with AddForce and ForceMode, tune bounce and friction with physics materials, connect bodies with joints, and see the physics math in runnable C# simulations.

UI and Input

  1. 19 UI Canvas and Layout in Unity Learn the Unity UI (uGUI) basics - Canvas render modes, Canvas Scaler, RectTransform anchors and pivots, layout groups and safe areas - with runnable math stand-ins.
  2. 20 Buttons, Text and UI Events in Unity Wire up Unity buttons, sliders, toggles and TextMeshPro text from code, learn UnityEvent listeners, the EventSystem and common mistakes, with runnable C# event stand-ins.
  3. 21 The Unity Input System Move from the old Input Manager to Unity's Input System package - actions, bindings, action maps, PlayerInput, gamepad and touch - with runnable input-mapping stand-ins.
  4. 22 UI Toolkit in Unity Learn Unity UI Toolkit - UXML layouts, USS styles, the UIDocument component, querying elements and callbacks - and when to choose it over uGUI, with runnable stand-ins.

Animation and Audio

  1. 23 The Animator Controller in Unity Build character animation logic with the Unity Animator Controller - states, transitions, parameters, blend trees and layers - with a runnable state machine stand-in.
  2. 24 Animation Clips and Animation Events in Unity Create animation clips in Unity's Animation window, edit curves, add animation events that call C# methods, and learn easing and tweening with runnable curve stand-ins.
  3. 25 Audio in Unity - Sources, Listeners and Mixers Add sound to a Unity game with AudioSource, AudioListener, 3D spatial audio, PlayOneShot and the AudioMixer, including decibel and distance falloff math you can run.
  4. 26 Timeline and Cinemachine in Unity Build cutscenes with Unity Timeline and drive smart cameras with Cinemachine - tracks, clips, PlayableDirector, virtual cameras, damping and blends - with runnable stand-ins.

2D and 3D Workflows

  1. 27 2D Workflow - Sprites, Atlases and Tilemaps Build 2D games in Unity with sprites, pixels per unit, sorting layers, sprite atlases, Tilemaps and Rule Tiles, plus runnable tile and sorting-order stand-ins.
  2. 28 3D Workflow - Materials, Shaders and Lighting Understand Unity 3D art - meshes, materials, PBR textures, shader graph, light types, baked and realtime lighting, probes and post-processing - with runnable lighting math.
  3. 29 NavMesh and AI Navigation in Unity Make characters walk around obstacles with Unity's NavMesh - baking, NavMeshAgent, obstacles, off-mesh links - and build simple enemy AI with runnable A-star and state machine stand-ins.

Optimization and Publishing

  1. 30 Profiler and Optimization in Unity Find and fix performance problems in Unity - the Profiler, frame budgets, garbage collection, draw calls, batching and the rules of optimization - with runnable allocation and timing stand-ins.
  2. 31 Object Pooling and Memory in Unity Stop spikes from Instantiate and Destroy with object pooling in Unity - ObjectPool<T>, bullet pools, addressables and asset loading, texture memory - with runnable pool stand-ins.
  3. 32 Building and Publishing Your Unity Game Build a Unity game for Windows, Android, iOS and WebGL - Build Profiles, scenes, player settings, scripting backends, saving data, versioning and store release checklists.

Projects and Practice

  1. 33 Project: Build a 2D Platformer in Unity Build a complete 2D platformer in Unity step by step - scene setup, tilemap level, character controller with coyote time and jump buffering, coins, enemies, checkpoints and a UI.
  2. 34 Project: Build a Top-Down Shooter in Unity Build a top-down shooter in Unity - twin-stick movement, mouse aiming, pooled bullets, enemy waves, health and score UI, with runnable aiming, fire-rate and wave stand-ins.
  3. 35 Project: Build an Endless Runner in Unity Build a 3D lane-based endless runner in Unity - lane switching, procedural track chunks, obstacle spawning, rising speed, coins, score and game over - with runnable stand-ins.
  4. 36 Unity Practice Exercises and Next Steps Consolidate your Unity skills with graded exercises on UI, input, animation, audio, 2D and 3D, optimization and publishing, plus game ideas, a portfolio plan and what to learn next.