Class ModularImporterValidationResult
The results of a ModularImporter validation.
Inherited Members
Namespace: UnityEditor.Importer.Validation
Assembly: Unity.Importer.Editor.dll
Syntax
public class ModularImporterValidationResult
Remarks
Contains a list of all errors generated during the validation.
Properties
Errors
The errors generated during the validation of a ModularImporter.
Declaration
public IReadOnlyList<BaseGraphValidationError> Errors { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<BaseGraphValidationError> |
IsValid
Overall result of the validation.
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
DisplayErrors()
Display a readable list of validation error in the Unity console.
Declaration
public void DisplayErrors()
ToString()
Get a string representing the errors of this validation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representing the errors of this validation |