docs.unity3d.com
    Show / Hide Table of Contents

    Class EditorWindowCriterion

    Criterion for checking that a specific EditorWindow is opened.

    Inheritance
    Object
    Criterion
    EditorWindowCriterion
    Inherited Members
    Criterion.CriterionCompleted
    Criterion.CriterionInvalidated
    Criterion.Completed
    Criterion.Invalidated
    Criterion.IsCompleted
    Criterion.ResetCompletionState()
    Criterion.UpdateCompletion()
    Criterion.GetFutureObjectReferences()
    Criterion.OnValidate()
    Criterion.CreateFutureObjectReference()
    Criterion.CreateFutureObjectReference(String)
    Criterion.UpdateFutureObjectReferenceNames()
    Namespace: Unity.Tutorials.Core.Editor
    Syntax
    public class EditorWindowCriterion : Criterion

    Properties

    EditorWindowType

    The EditorWindow type we want to test for.

    Declaration
    public SerializedType EditorWindowType { get; set; }
    Property Value
    Type Description
    SerializedType

    Methods

    AutoComplete()

    Auto-completes the criterion.

    Declaration
    public override bool AutoComplete()
    Returns
    Type Description
    Boolean

    True if the auto-completion succeeded.

    Overrides
    Criterion.AutoComplete()

    EvaluateCompletion()

    Evaluates if the criterion is completed.

    Declaration
    protected override bool EvaluateCompletion()
    Returns
    Type Description
    Boolean
    Overrides
    Criterion.EvaluateCompletion()

    StartTesting()

    Starts testing of the criterion.

    Declaration
    public override void StartTesting()
    Overrides
    Criterion.StartTesting()

    StopTesting()

    Stops testing of the criterion.

    Declaration
    public override void StopTesting()
    Overrides
    Criterion.StopTesting()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023