Month: September 2015

Using Unity’s Postprocessor to “compile” strings

Tl;dr: String parameters are not type-safe. Using Unity’s Postprocessor replace them with automatically generated enums and detect errors at compile-time instead of run-time. Recently, while working with a Unity plugin, I came across an API which makes use of string parameters. Personally, I am not a huge fan of them…