Shipped an awesome T4 update! 🎉
Data binding allows sharing data from Unity with a template. This allows the template to access and use that data during generation.
With data binding, T4 users can define data classes in Unity assemblies, instance it (e.g. with a ScriptableObject asset), and have the template access that instance while generating code. I'm super excited to use this - I think it's pretty powerful.Â
Take a look at how it works, here!