neptaco / UnityT4TemplatePatch

Using T4 Template by Unity generated csproj.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unity T4 Template Patch

openupm

Using T4 Template by Unity generated csproj.

Install

Package Manager

{
    "dependencies": {
        "com.xtaltools.unity-t4-patch": "https://github.com/neptaco/UnityT4TemplatePatch.git?path=Packages/UnityT4TemplatePatch"
    }
}

Patching to Csproj

Automatically search for files with extension .tt and generate an ItemGroup tag.

Generated from Assets/Scripts/Scripts/StringUtils.Generated.tt as follows

  <ItemGroup>
    <Content Include="Assets\Scripts\StringUtils.Generated.tt">
      <Generator>TextTemplatingFileGenerator</Generator>
      <LastGenOutput>StringUtils.Generated.cs</LastGenOutput>
    </Content>
  </ItemGroup>

License

This library is under the MIT License.

About

Using T4 Template by Unity generated csproj.

License:MIT License


Languages

Language:C# 100.0%