Class DeactivateEvent
UnityEvent that Unity invokes when the selecting Interactor deactivates an Interactable.
Inherited Members
UnityEngine.Events.UnityEvent<UnityEngine.XR.Interaction.Toolkit.DeactivateEventArgs>.AddListener(UnityEngine.Events.UnityAction<UnityEngine.XR.Interaction.Toolkit.DeactivateEventArgs>)
UnityEngine.Events.UnityEvent<UnityEngine.XR.Interaction.Toolkit.DeactivateEventArgs>.RemoveListener(UnityEngine.Events.UnityAction<UnityEngine.XR.Interaction.Toolkit.DeactivateEventArgs>)
UnityEngine.Events.UnityEvent<UnityEngine.XR.Interaction.Toolkit.DeactivateEventArgs>.FindMethod_Impl(System.String, System.Type)
UnityEngine.Events.UnityEvent<UnityEngine.XR.Interaction.Toolkit.DeactivateEventArgs>.Invoke(UnityEngine.XR.Interaction.Toolkit.DeactivateEventArgs)
UnityEngine.Events.UnityEventBase.UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize()
UnityEngine.Events.UnityEventBase.UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize()
UnityEngine.Events.UnityEventBase.FindMethod_Impl(System.String, System.Object)
UnityEngine.Events.UnityEventBase.AddListener(System.Object, System.Reflection.MethodInfo)
UnityEngine.Events.UnityEventBase.RemoveListener(System.Object, System.Reflection.MethodInfo)
UnityEngine.Events.UnityEventBase.Invoke(System.Object[])
UnityEngine.Events.UnityEventBase.ToString()
UnityEngine.Events.UnityEventBase.ValidateRegistration(System.Reflection.MethodInfo, System.Object, UnityEngine.Events.PersistentListenerMode)
UnityEngine.Events.UnityEventBase.ValidateRegistration(System.Reflection.MethodInfo, System.Object, UnityEngine.Events.PersistentListenerMode, System.Type)
UnityEngine.Events.UnityEventBase.RegisterPersistentListener(System.Int32, System.Object, System.Reflection.MethodInfo)
UnityEngine.Events.UnityEventBase.RegisterPersistentListener(System.Int32, System.Object, System.Type, System.Reflection.MethodInfo)
Namespace: UnityEngine.XR.Interaction.Toolkit
Syntax
[Serializable]
public sealed class DeactivateEvent : UnityEvent<DeactivateEventArgs>, ISerializationCallbackReceiver
Remarks
Not to be confused with activating or deactivating a GameObject with SetActive. This is a generic event when an Interactor wants to deactivate its selected Interactable, such as from a trigger pull on a controller.