Execution order of Awake and onEnable for different scripts in Unity is undefined.

    Execution order of Awake and onEnable for different scripts in Unity is undefined.

    Dec 19, 2022
    Categories: Unity

    In different scripts OnEnable might run before Awake. A solution to avoid a nasty bug from this undefined behavior.

    Read
    A guide for better use of enums in C# part 2.

    A guide for better use of enums in C# part 2.

    Dec 12, 2022
    Categories: C#

    Mapping data to logic.

    Read
    A guide for better use of enums in C# part 1.

    A guide for better use of enums in C# part 1.

    Dec 5, 2022
    Categories: C#

    A variable should only be doing one thing.

    Read
Follow me: