docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property isHovered

    isHovered

    (Read Only) Indicates whether an Interactor currently hovers over this Interactable.

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

    In other words, returns whether interactorsHovering contains any interactors.

    interactorsHovering.Count > 0
    See Also
    interactorsHovering
    hasHover
    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)