docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ISelectableElement

    Interface used on UI elements which handle a selected state.

    Namespace: Unity.AppUI.UI
    Assembly: Unity.AppUI.dll
    Syntax
    public interface ISelectableElement

    Properties

    selected

    True of the UI element is in selected state, False otherwise.

    Declaration
    bool selected { get; set; }
    Property Value
    Type Description
    bool

    Methods

    SetSelectedWithoutNotify(bool)

    Set the selected state of a UI element without sending an event through the visual tree.

    Declaration
    void SetSelectedWithoutNotify(bool newValue)
    Parameters
    Type Name Description
    bool newValue

    The new selected state value.

    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)