Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 868 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 868 Bytes

Unity T4 Template Post Processor

Unity Editor post processor who will related the T4 template to its generated (C#) file.

Editor call-back

Remarks

Need to put this file in an editor subfolder to make sure Unity will pick it up.

Can also be triggered manually through the Assets context menu.

Assets context menu

Solution

  • For editor assembly support: replace the string "Assembly-CSharp.csproj" with "Assembly-CSharp*.csproj".
  • For runtime text templates: modify the content of the string from TextTemplatingFileGenerator to TextTemplatingFilePreprocessor.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details