csharp
public record class ScriptBuildWhat compiling a project's Editor/ folder produced.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ A project with no Editor/ folder is not a failure and is not an error. Most projects are content and scenes; an editor that reported a problem for one would be reporting the absence of a feature nobody asked for. That case is no assembly, no diagnostics and no sources, and Failed is false for it.
Fields and properties (6)
public string? AssemblyPathWhere the assembly landed, or if none was written.
public IReadOnlyList<ScriptDiagnostic> DiagnosticsEverything the compiler said, errors and warnings together.
public int SourcesHow many files went in.
public static ScriptBuild NoneNothing to build.
public bool FailedWhether there were sources and no assembly came out of them.
public IEnumerable<ScriptDiagnostic> ErrorsJust the errors, which is what a panel leads with.
Methods (1)
public ScriptBuild(string? AssemblyPath, IReadOnlyList<ScriptDiagnostic> Diagnostics, int Sources)What compiling a project's Editor/ folder produced.
Used by (5)
- EditorScriptTestsVixen.Editor.Scripts.Tests
- EditorScriptsVixen.Editor.Scripts
- ScriptCompilerVixen.Editor.Scripts
- ScriptStateVixen.Editor.Scripts
- ScriptsModuleVixen.Editor.Scripts