Class ActivateEvent
UnityEvent that Unity invokes when the selecting Interactor activates an Interactable.
Implements
Inherited Members
UnityEvent<ActivateEventArgs>.AddListener(UnityAction<ActivateEventArgs>)
UnityEvent<ActivateEventArgs>.RemoveListener(UnityAction<ActivateEventArgs>)
UnityEvent<ActivateEventArgs>.Invoke(ActivateEventArgs)
UnityEventBase.ToString()
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
[Serializable]
public sealed class ActivateEvent : UnityEvent<ActivateEventArgs>, 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 activate its selected Interactable, such as from a trigger pull on a controller.