TemplateFiles Class

Definition

A helper class to manage (and locate) all the templates.

C++
public ref class TemplateFiles
Inheritance
TemplateFiles

Properties

Instance

Gets the singleton instance (created on demand) of this class.

MSBuildSolutionTemplatePath

Gets the MSBuild Solution file (.sln) template path.

OtherFiles

Gets a list of all other files included among the templates.

PlatformPropsTemplatePath

Gets the MSBuild Platform Props file (.props) template path.

PlatformTemplates

Gets a list of specialized platform templates.

PluginMetaTemplatePaths

Gets a list of meta files for plugins templates.

SDKProjectFileTemplatePath

Gets the MSBuild C# SDK Project file (.csproj) template path.

Methods

GetTemplateFilePathForPlatform(String, String)

Gets the correct platform template file path.

Applies to

Product Versions
MRTK2 Unity 2018 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0