docs.unity3d.com
    Show / Hide Table of Contents

    Class FrameSelectedCriterion

    Criterion for checking that a specific object is framed in the Scene view.

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

    Methods

    AutoComplete()

    Auto-completes the criterion.

    Declaration
    public override bool AutoComplete()
    Returns
    Type Description
    Boolean

    True if the auto-completion succeeded.

    Overrides
    Criterion.AutoComplete()

    SetObjectReferences(IEnumerable<ObjectReference>)

    Sets object references.

    Declaration
    public void SetObjectReferences(IEnumerable<ObjectReference> objectReferences)
    Parameters
    Type Name Description
    IEnumerable<ObjectReference> objectReferences

    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()

    UpdateCompletion()

    Runs update logic for the criterion.

    Declaration
    public override void UpdateCompletion()
    Overrides
    Criterion.UpdateCompletion()
    Remarks

    Overriding the update completion state, as this criterion is not state based

    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