docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ContentValidationStep

    Base abstract class for a validation IUgcBridgeStep. Provide ScriptableObject and base validation functionalities.

    Inheritance
    object
    Object
    ScriptableObject
    ContentValidationStep
    SimpleContentValidationStep
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Services.Ugc.Bridge.Editor
    Assembly: Unity.Services.Ugc.Bridge.Editor.dll
    Syntax
    public abstract class ContentValidationStep : ScriptableObject

    Properties

    ValidationInfoText

    Text information about the validation process. This is usually displayed at the top of the validation window.

    Declaration
    public abstract string ValidationInfoText { get; }
    Property Value
    Type Description
    string

    ValidationRules

    A IValidationRule array representing the set of rules the validation will validate/process.

    Declaration
    public abstract IValidationRule[] ValidationRules { get; }
    Property Value
    Type Description
    IValidationRule[]

    Methods

    Initialize()

    Initialize the ContentValidationStep asset. Override it for custom fields initialization.

    Declaration
    public virtual void Initialize()

    OnFocus()

    Called when the parent window is focused

    Declaration
    public virtual void OnFocus()

    OnGUI()

    Draw the GUI of the ContentValidationStep asset.

    Declaration
    public abstract void OnGUI()

    ResetValidations()

    Reset all IValidationRule to NotValidated state.

    Declaration
    public virtual void ResetValidations()

    ValidateContent()

    Launch the validation process on the content being published.

    Declaration
    public abstract bool ValidateContent()
    Returns
    Type Description
    bool

    Returns true if the content is valid, false otherwise.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)