Declarative code generation in Unity
Code generation in Unity is often done imperatively with StringBuilder or Roslyn source generators. Text templates offer a declarative alternative to code generation, but setting them up in a Unity project is not straightforward.
Interestingly, the U...
willykc.hashnode.dev21 min read