Enums are one of C#’s basic data types and represent a set of named integer constants, e.g. attack types or player states. The unity inspector supports enums out of the box, so the previous enum would look like this. We can select exactly one of all possible options. But what if we want to select more…
Category
Game Development
Tip of the Week #2: Sonniss GDC Audio Bundle
Since 2015 Timothy McHughand the awesome guys at sonniss.com release a bundle of completely royalty free sound effects that you can use without attribution even in commercial projects. This year’s package includes over 20 GB of all new sound fx you can use to make your games sound right. Here are the links for this years and…
Tip of the Week #1: Unity Support Plugin for ReSharper
There are a lot of things I could have presented in my first tip of the week, but in the end, I choose something which I discovered just recently. Unity Support is a plugin from Jetbrains for both ReSharper and their own C# IDE Rider. It eliminates a lot of the quirks and problems ReSharper…
Serialization – Saving Objects as Files
Unity’s often used built in form of serialization are the PlayerPrefs. As Lars Kokemohr, the Head of Programming at the School4Games, points out in this Facebook post: The are a lot of drawbacks to saving data using Unity’s PlayerPrefs class. Furthermore he advises that A cleaner way of doing it would be to create a…