ProjectInfo
Describes a script project and the assembly it compiles to.
Read time 1 minuteLast updated an hour ago
Definition
- Type: Class
- Namespace: UnityEditor.Compilation
- Assembly: UnityEditor.CoreModule
public sealed class ProjectInfo
Remarks
CompilationPipeline.GetProjects returns these. When the MSBuild compilation pipeline is enabled, each one describes an MSBuild project as of the last script compilation.
Additional Resources: CompilationPipeline.GetProjects, ProjectTarget.
Properties
Property | Description |
|---|---|
| defines | The scripting defines the project compiles with. |
| isEditorOnly | Whether the project only compiles for the Editor. |
| name | The name of the assembly the project compiles to, without the file extension. |
| outputPath | The full path of the compiled assembly. |
| projectFilePath | The full path of the project file (.csproj). |
| referencedProjects | The names of the other projects this project references. |
| referencePaths | The full paths of the precompiled assemblies the project compiles against. |
| sourceFileRelativePaths | The source files the project compiles, as project-relative paths such as |