Class DeactivateEvent
UnityEvent that Unity invokes when the selecting Interactor deactivates an Interactable.
Implements
Inherited Members
UnityEvent<DeactivateEventArgs>.AddListener(UnityAction<DeactivateEventArgs>)
UnityEvent<DeactivateEventArgs>.RemoveListener(UnityAction<DeactivateEventArgs>)
UnityEvent<DeactivateEventArgs>.Invoke(DeactivateEventArgs)
UnityEventBase.ToString()
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
[Serializable]
public sealed class DeactivateEvent : UnityEvent<DeactivateEventArgs>, ISerializationCallbackReceiver
Remarks
Not to be confused with activating or deactivating a GameObject with SetActive(bool). This is a generic event when an Interactor wants to deactivate its selected Interactable, such as from a trigger pull on a controller.