tutorial

Step-by-step programming and game dev tutorials.

Unity: Inspector Attributes
· ☕ 1 min read
Some attributes that can be added to Unity objects to make them render more nicely inside of the editor's Inspectors.

Using Scriptable Objects in Unity
Using Scriptable Objects in Unity
· ☕ 1 min read
ScriptableObject’s are a way to make configurable objects you can attach to MonoBehavior’s or others objects. This allows you to quickly create and swap out data on your game objects without having to create and manage entire object Prefabs.

Tracking Task Progress in Unity
Tracking Task Progress in Unity
· ☕ 2 min read
Let’s start expanding on the SVGs in Unity project we started that converts SVG’s into an image format that is usable by Unity (https://www.

Using Git Hooks
Using Git Hooks
· ☕ 2 min read
Git Hooks provide a way for you to hook into your local git installation and attach additional behavior to common git actions.

Using Dependency Injection in ASP.NET
Using Dependency Injection in ASP.NET
· ☕ 2 min read
Dependency Injection is a tool we can use to automatically provide objects with services they need without having to explicitly declare what is needed inside of the objects themselves.

Let's Explore Implicit Usings in C# 10
Let's Explore Implicit Usings in C# 10
· ☕ 1 min read
Implicit usings is a feature in .NET that allows you to have the compiler automatically add global usings to your projects for common namespaces used in projects of the type you’ve chosen.

Using .NET Interactive and Jupyter Notebooks
Using .NET Interactive and Jupyter Notebooks
· ☕ 1 min read
Today we’re exploring .NET Interactive and how you can use it inside of Jupyter Notebooks to run and document code samples alongside markdown documentation.

Using C#'s nameof Expression - C# Quick Tip
Using C#'s nameof Expression - C# Quick Tip
· ☕ 2 min read
The nameof expression allows you to convert a variable, property, type or function into a string that represents its name.

Creating a Stepped Gradient Shader in Unity
Creating a Stepped Gradient Shader in Unity
· ☕ 2 min read
Let’s build a stepped gradient in Unity! This is a form of gradient with hard transitions between the different keyframes in the gradient which creates clear blocks of color like you might see on a flag or logo.

Supporting Grid Rendering - LINQ for Unity - Part 3
Supporting Grid Rendering - LINQ for Unity - Part 3
· ☕ 1 min read
Unity’s Editor UI does not support rendering elements in a grid. For some elements like Textures, Meshes and Materials rendering the results in a vertical list does not use the space of the LINQ for Unity editor view very effectively so a grid-based view could provide a much more concise and cleaner UI.

Let's Make a Lazy String Parser in C#
Let's Make a Lazy String Parser in C#
· ☕ 3 min read
Let’s create a quick string parsing script that can read a long string and return a delimited set of results (we’ll be finding words).

Using Generic Type Aliases in C#
Using Generic Type Aliases in C#
· ☕ 1 min read
C# includes a feature that allows you to use the using keyword to define aliases for different types or namespaces in your code.

Animating the Elevator - An Elevator Between Scenes - Part 1
Animating the Elevator - An Elevator Between Scenes - Part 1
· ☕ 2 min read
Let’s start a new project that allows us to load scenes using riding an elevator as the transition. To start with we’ll be building the animation controlling the opening and closing of the elevator doors.