docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FocusExitEventArgs

    Event data associated with the event when an Interaction group ends focusing an Interactable.

    Inheritance
    object
    BaseInteractionEventArgs
    FocusExitEventArgs
    Inherited Members
    BaseInteractionEventArgs.interactorObject
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.Interaction.Toolkit
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public class FocusExitEventArgs : BaseInteractionEventArgs

    Properties

    interactableObject

    The Interactable associated with the interaction event.

    Declaration
    public IXRFocusInteractable interactableObject { get; set; }
    Property Value
    Type Description
    IXRFocusInteractable

    interactionGroup

    The interaction group associated with the interaction event.

    Declaration
    public IXRInteractionGroup interactionGroup { get; set; }
    Property Value
    Type Description
    IXRInteractionGroup

    isCanceled

    Whether the focus was lost due to being canceled, such as from either the Interaction group or Interactable being unregistered due to being disabled or destroyed.

    Declaration
    public bool isCanceled { get; set; }
    Property Value
    Type Description
    bool

    manager

    The Interaction Manager associated with the interaction event.

    Declaration
    public XRInteractionManager manager { get; set; }
    Property Value
    Type Description
    XRInteractionManager
    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)