Class SimpleContentValidationStep
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Services.Ugc.Bridge.Editor.Example
Assembly: Unity.Services.Ugc.Bridge.Editor.dll
Syntax
[CreateAssetMenu(menuName = "UGC Bridge/Steps Assets/Validation/SimpleContentValidationStep")]
public class SimpleContentValidationStep : ContentValidationStep
Properties
ValidationInfoText
Text information about the validation process. This is usually displayed at the top of the validation window.
Declaration
public override string ValidationInfoText { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ValidationRules
A IValidationRule array representing the set of rules the validation will validate/process.
Declaration
public override IValidationRule[] ValidationRules { get; }
Property Value
Type | Description |
---|---|
IValidationRule[] |
Overrides
Methods
OnGUI()
Draw the GUI of the ContentValidationStep asset.
Declaration
public override void OnGUI()
Overrides
ValidateContent()
Launch the validation process on the content being published.
Declaration
public override bool ValidateContent()
Returns
Type | Description |
---|---|
bool | Returns true if the content is valid, false otherwise. |