Class UsesIsHoveringOverUIMethods | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    Show / Hide Table of Contents

    Class UsesIsHoveringOverUIMethods

    Inheritance
    Object
    UsesIsHoveringOverUIMethods
    Namespace: Unity.Labs.EditorXR.Interfaces
    Syntax
    public static class UsesIsHoveringOverUIMethods

    Methods

    IsHoveringOverUI(IUsesIsHoveringOverUI, Transform)

    Returns whether the specified ray origin is hovering over a UI element

    Declaration
    public static bool IsHoveringOverUI(this IUsesIsHoveringOverUI user, Transform rayOrigin)
    Parameters
    Type Name Description
    IUsesIsHoveringOverUI user

    The functionality user

    Transform rayOrigin

    The rayOrigin that is being checked

    Returns
    Type Description
    Boolean

    Whether the ray is hovering over UI

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX