All Unity Articles


How to make an object follow the mouse in Unity (in 2D)

Aug 26, 2021

 | 

John French
 | 
15 Comments



Learn how to use the mouse position with other objects in Unity in 2D. Including how to rotate and move objects to follow the mouse on screen.
Featured image for “How to make an object follow the mouse in Unity (in 2D)”

How to jump in Unity (with or without physics)

Aug 19, 2021

 | 

John French
 | 
40 Comments



Learn how to jump in Unity, how to control jump height, plus how to jump without using physics, in my in-depth beginner’s guide.
Featured image for “How to jump in Unity (with or without physics)”

How to quit the game in Unity

Jul 30, 2021

 | 

John French
 | 
5 Comments



Learn how to quit the game in Unity, how to exit Play Mode from a script and how to run code when the game closes, in my in-depth guide.
Featured image for “How to quit the game in Unity”

How to keep score in Unity (with loading and saving)

Jul 27, 2021

 | 

John French
 | 
25 Comments



Learn how to create an animated score counter, how to sort a high score leaderboard & save player scores to a file in Unity.
Featured image for “How to keep score in Unity (with loading and saving)”

How to zoom a camera in Unity (3 methods with examples)

Jul 19, 2021

 | 

John French
 | 
15 Comments



Master the 3 methods of zooming a camera in and out in Unity, including 2D & 3D cameras, in my in-depth beginner’s guide.
Featured image for “How to zoom a camera in Unity (3 methods with examples)”

How to Rotate in Unity (complete beginner’s guide)

Jul 13, 2021

 | 

John French
 | 
59 Comments



Master the basics of rotation in Unity in my in-depth beginner’s guide.
Featured image for “How to Rotate in Unity (complete beginner’s guide)”

Raycasts in Unity, made easy

Jun 18, 2021

 | 

John French
 | 
29 Comments



Learn how to use Raycasts in Unity, the right way, using layers, triggers and multiple objects, in this complete, step by step guide.
Featured image for “Raycasts in Unity, made easy”

Unity’s new Input System, made easy (complete beginner’s guide)

Mar 21, 2021

 | 

John French
 | 
112 Comments



In this complete quick-start guide, you’ll learn everything you need to know to get started with Unity’s new Input System, step by step.
Featured image for “Unity’s new Input System, made easy (complete beginner’s guide)”

How to get a variable from another script in Unity (the right way)

Dec 02, 2020

 | 

John French
 | 
44 Comments



In this beginners guide, you’ll learn the right way to access other scripts & manage global variables, without making a mess of your project.
Featured image for “How to get a variable from another script in Unity (the right way)”

How to load a scene in Unity

May 14, 2020

 | 

John French
 | 
35 Comments



Learn how to load levels, build progress bars and pass data between Scenes in my in-depth beginner’s guide to loading Scenes in Unity.
Featured image for “How to load a scene in Unity”

The right way to Lerp in Unity (with examples)

Apr 13, 2020

 | 

John French
 | 
60 Comments



Learn to animate buttons, move objects and fade anything – the right way – in my in-depth guide to using LERP in Unity (including copy / paste examples).
Featured image for “The right way to Lerp in Unity (with examples)”

Coroutines in Unity (how and when to use them)

Apr 04, 2020

 | 

John French
 | 
95 Comments



In this step by step guide, learn how pause functions and script sequences of events the easy way. With Coroutines in Unity.
Featured image for “Coroutines in Unity (how and when to use them)”

Start vs Awake in Unity

Mar 05, 2020

 | 

John French
 | 
24 Comments



Learn the right way to use Start & Awake in Unity to avoid errors and make initialising scripts easier in this mini guide.
Featured image for “Start vs Awake in Unity”

How to make a countdown timer in Unity (in minutes + seconds)

Feb 25, 2020

 | 

John French
 | 
85 Comments



In this step by step guide you’ll learn the easy method for making a countdown timer in Unity that looks and works as you expect it to.
Featured image for “How to make a countdown timer in Unity (in minutes + seconds)”

The right way to pause a game in Unity

Feb 13, 2020

 | 

John French
 | 
94 Comments



Learn the right way to pause a game in Unity. Including how to animate menus, move objects or run coroutines while the game is paused.
Featured image for “The right way to pause a game in Unity”