docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UIInteractorUnregisteredEventArgs

    Event data associated with the event when a UI interactor is unregistered from an XRUIInputModule.

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

    When an IUIInteractor is unregistered with the XRUIInputModule, the OnUnregistered(UIInteractorUnregisteredEventArgs) method and interactorUnregistered event are invoked with UIInteractorUnregisteredEventArgs as parameters.

    Properties

    inputModule

    The XR UI Input Module associated with the registration event.

    Declaration
    public XRUIInputModule inputModule { get; set; }
    Property Value
    Type Description
    XRUIInputModule
    See Also
    IUIInteractorRegistrationHandler
    XRUIInputModule

    inputModuleDestroyed

    Whether the unregistration event was due to the input module being destroyed.

    Declaration
    public bool inputModuleDestroyed { get; set; }
    Property Value
    Type Description
    bool
    See Also
    inputModule

    interactor

    The UI interactor that was unregistered.

    Declaration
    public IUIInteractor interactor { get; set; }
    Property Value
    Type Description
    IUIInteractor
    See Also
    IUIInteractorRegistrationHandler
    XRUIInputModule

    See Also

    IUIInteractorRegistrationHandler
    XRUIInputModule
    In This Article
    Back to top
    Copyright © 2026 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)