WKWilly Kuster Chimientiinwillykc.hashnode.dev·Jan 30, 2023 · 21 min readDeclarative code generation in UnityCode 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...00