docs.unity.cn
    Show / Hide Table of Contents

    Class BaseInteractionEventArgs

    Event data associated with an interaction event between an Interactor and Interactable.

    Inheritance
    Object
    BaseInteractionEventArgs
    ActivateEventArgs
    DeactivateEventArgs
    HoverEnterEventArgs
    HoverExitEventArgs
    SelectEnterEventArgs
    SelectExitEventArgs
    TeleportingEventArgs
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    public abstract class BaseInteractionEventArgs

    Properties

    interactable

    (Deprecated) The Interactable associated with the interaction event.

    Declaration
    [Obsolete("interactable has been deprecated. Use interactableObject instead.")]
    public XRBaseInteractable interactable { get; set; }
    Property Value
    Type Description
    XRBaseInteractable
    Remarks

    interactable has been deprecated. Use interactableObject instead.

    interactableObject

    The Interactable associated with the interaction event.

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

    interactor

    (Deprecated) The Interactor associated with the interaction event.

    Declaration
    [Obsolete("interactor has been deprecated. Use interactorObject instead.")]
    public XRBaseInteractor interactor { get; set; }
    Property Value
    Type Description
    XRBaseInteractor
    Remarks

    interactor has been deprecated. Use interactorObject instead.

    interactorObject

    The Interactor associated with the interaction event.

    Declaration
    public IXRInteractor interactorObject { get; set; }
    Property Value
    Type Description
    IXRInteractor
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, August 12, 2022
    Terms of use