As a games development lecturer, I teach a variety of subjects – but most commonly I teach using the Unity game engine. While I like to give hands-on tutorials in class, it is sometimes very useful to have the steps for a tutorial available online. To that end, I have included my tutorials here on my website.
I have organised my Unity tutorials into four broad categories:
- Unity Features: These are aspects of the editor itself, such as how to import assets, use the built in physics system, create tile maps, and work with the animation system.
- Actions: These are things that you can do with code, such as spawning an object, changing scenes, or changing a sprite. These will need to be triggered with a Condition in order to create game behaviour.
- Conditions: These are things that you can use to trigger Actions, such as collisions, timers, click sensors, and more. By themselves, they do nothing – they need to be combined with an Action to create game behaviour.
- Patterns: These are combinations of Actions and Conditions that are commonly used in various games. For example, a “door” pattern would involve sensing a collision with a door (Condition) in order to move to a new scene (Action).