Class ProjectGeneration
Inheritance
ProjectGeneration
Syntax
public class ProjectGeneration : IGenerator
Constructors
ProjectGeneration()
Declaration
public ProjectGeneration()
ProjectGeneration(String)
Declaration
public ProjectGeneration(string tempDirectory)
Parameters
| Type |
Name |
Description |
| String |
tempDirectory |
|
ProjectGeneration(String, IAssemblyNameProvider, IFileIO, IGUIDGenerator)
Declaration
public ProjectGeneration(string tempDirectory, IAssemblyNameProvider assemblyNameProvider, IFileIO fileIoProvider, IGUIDGenerator guidGenerator)
Parameters
Fields
MSBuildNamespaceUri
Declaration
public static readonly string MSBuildNamespaceUri
Field Value
Properties
ProjectDirectory
Declaration
public string ProjectDirectory { get; }
Property Value
Implements
Methods
GenerateAll(Boolean)
Declaration
public void GenerateAll(bool generateAll)
Parameters
| Type |
Name |
Description |
| Boolean |
generateAll |
|
Implements
GenerateAndWriteSolutionAndProjects(Type[])
Declaration
public void GenerateAndWriteSolutionAndProjects(Type[] types)
Parameters
| Type |
Name |
Description |
| Type[] |
types |
|
GetAssetPostprocessorTypes()
Declaration
public static Type[] GetAssetPostprocessorTypes()
Returns
HasSolutionBeenGenerated()
Declaration
public bool HasSolutionBeenGenerated()
Returns
Implements
ProjectFile(UnityEditor.Compilation.Assembly)
Declaration
public string ProjectFile(UnityEditor.Compilation.Assembly assembly)
Parameters
| Type |
Name |
Description |
| UnityEditor.Compilation.Assembly |
assembly |
|
Returns
SolutionFile()
Declaration
public string SolutionFile()
Returns
Implements
Sync()
Declaration
Implements
SyncIfNeeded(IEnumerable<String>, IEnumerable<String>)
Syncs the scripting solution if any affected files are relevant.
Declaration
public bool SyncIfNeeded(IEnumerable<string> affectedFiles, IEnumerable<string> reimportedFiles)
Parameters
Returns
| Type |
Description |
| Boolean |
Whether the solution was synced.
|
Implements
Explicit Interface Implementations
IGenerator.AssemblyNameProvider
Declaration
IAssemblyNameProvider IGenerator.AssemblyNameProvider { get; }
Returns
Implements