Skip to content

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

License

Notifications You must be signed in to change notification settings

njannink/T4ForUnity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages