The Null object pattern in C#

    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#

    Read
    A way to refactor the update loop in Unity for cleaner code

    A 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

    Read
    How to prevent external changes to your save files in Unity

    How 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

    Read
    Emulate multiple inheritance by using default interface implementation in C# and Unity

    Emulate 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

    Read
    What are enum flags and how to use them in Unity

    What 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

    Read
    How to avoid boxing structs that implement interfaces in C#

    How 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

    Read
Follow me: