T4 Code Generation


This Unity editor extension provides T4 text templates processor. T4 template is a mixture of text blocks and control logic ...


by GameDevWare


★★★★ star rating
Price History +

This Unity editor extension provides T4 text templates processor. T4 template is a mixture of text blocks and control logic that can generate a text file. The control logic is written as fragments of program code in C#. The generated file can be text of any kind, such as resource file, source code or web page.

[Source Code] [Documentation] [Examples] [Forum Thread]

Use cases:


• Repeating source code generation


• Project resources catalogization


• Resource loading/reading code generation


• Code generation by DSL


• Code generation for ORM (BLToolkit for example)


• Embedding environment information into project's build




Compatible with Unity 4, Unity 5, Unity 2017, Unity 2018




Don't forget to remove Examples folder from your project.