docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property isFocused

    isFocused

    (Read Only) Indicates whether this interactable is currently being focused by any interaction group.

    Declaration
    bool isFocused { get; }
    Property Value
    Type Description
    bool
    Remarks

    In other words, returns whether interactionGroupsFocusing contains any interaction groups.

    interactionGroupsFocusing.Count > 0
    See Also
    interactionGroupsFocusing
    In This Article
    Back to top
    Copyright © 2023 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)