Learn advanced scripting in Unity, including how to create your own data structures, how to avoid duplicating code and best-practice tips for choosing, and using, C# design patterns.

Inheritance in Unity

Feb 06, 2024

 | 

John French
 | 
2 Comments



Learn how Inheritance in Unity works, and how to use Virtual, Override, and Abstract functions in your project, in my beginner’s guide.
Featured image for “Inheritance in Unity”

Structs in Unity (how and when to use them)

Jan 18, 2024

 | 

John French
 | 
NEW



Learn how Structs in Unity work, how to use them, and when to use a Struct instead of a plain C# Class, in my complete beginner’s guide.
Featured image for “Structs in Unity (how and when to use them)”

Enums in Unity (how they work and how to use them)

Jul 24, 2023

 | 

John French
 | 
5 Comments



Learn how enums in Unity work, how to make your own, and how you can use them to create options, states and dropdown menus in the Inspector.
Featured image for “Enums in Unity (how they work and how to use them)”

Async in Unity (better or worse than coroutines?)

Feb 17, 2023

 | 

John French
 | 
20 Comments



Learn how to use async functions in Unity, how they’re different from coroutines and if (and when) you should use them.
Featured image for “Async in Unity (better or worse than coroutines?)”

State Machines in Unity (how and when to use them)

Feb 07, 2023

 | 

John French
 | 
21 Comments



Learn how State Machines in Unity work, how they can help you, and when not to use one, in my in-depth beginner’s guide.
Featured image for “State Machines in Unity (how and when to use them)”

Interfaces in Unity (how and when to use them)

Oct 07, 2022

 | 

John French
 | 
7 Comments



Learn how interfaces work in Unity, what they can do for you and the right time to use one, in my in-depth beginner’s guide.
Featured image for “Interfaces in Unity (how and when to use them)”

Scriptable Objects in Unity (how and when to use them)

Sep 22, 2022

 | 

John French
 | 
26 Comments



Learn how to use Scriptable Objects in Unity to manage your game’s data and make building your game easier, in my complete beginner’s guide.
Featured image for “Scriptable Objects in Unity (how and when to use them)”

How to use script composition in Unity

Apr 06, 2022

 | 

John French
 | 
20 Comments



Learn how to reuse scripts and behaviours on different objects easily, using the script composition method in Unity.
Featured image for “How to use script composition in Unity”

Singletons in Unity (done right)

Dec 23, 2021

 | 

John French
 | 
34 Comments



Learn the pros & cons of using singletons in Unity, and decide for yourself if they can help you to develop your game more easily.
Featured image for “Singletons in Unity (done right)”

Events & Delegates in Unity

Dec 15, 2021

 | 

John French
 | 
81 Comments



Learn how to connect scripts & objects using delegates, actions & Unity Events in my in-depth beginner’s guide.
Featured image for “Events & Delegates in Unity”