Class GraphValidationResult
The results of a graph validation.
Inherited Members
Namespace: UnityEngine.Importer.Validations
Assembly: Unity.Importer.dll
Syntax
public class GraphValidationResult
Remarks
Contains a list of all errors generated during a graph validation.
Properties
Errors
The errors generated during the validation of an ImporterGraph.
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 |