The Null object pattern in C#
Mar 13, 2023
Categories: C#
What is the Null object pattern, where to use it and the different variations in C#
ReadA way to refactor the update loop in Unity for cleaner code
Mar 6, 2023
Categories: Unity
The Update method in Unity is a game loop, a way to make our code cleaner is the understanding that it doesn't have a beginning or end
ReadHow to prevent external changes to your save files in Unity
Feb 27, 2023
Categories: C#, Unity
How to use encryption to prevent external editing of your game save files, while keeping their data in a human readable json format
ReadEmulate multiple inheritance by using default interface implementation in C# and Unity
Feb 21, 2023
Categories: C#, Unity
How to use default interface implementation to define shared functionality in interfaces that emulates multiple inheritance in C# and Unity
ReadWhat are enum flags and how to use them in Unity
Feb 14, 2023
Categories: C#, Unity
What are enum flags and how they can be used in Unity to simplify our code
ReadHow to avoid boxing structs that implement interfaces in C#
Feb 7, 2023
Categories: C#
How to avoid the boxing of structs that implement interfaces, when passed as arguments to methods by using generics
ReadCategories