Instance
: InteractionBroadcaster |
Gets the active singleton instance of the InteractionBroadcaster.
Returns null if no instance is active.
Signature
InteractionBroadcaster Oculus.Interaction.Feedback.InteractionBroadcaster.Instance |
OnEventRaised
: Action< InteractionEvent > |
Optional C# event for interaction monitoring.
Complements the _eventChannel ScriptableObject workflow with a pure C# implementation. Subscribers receive all interaction events regardless of the ScriptableObject channel configuration.
Use this event for performance-sensitive systems or when you need to avoid ScriptableObject dependencies.
Signature
Action<InteractionEvent> Oculus.Interaction.Feedback.InteractionBroadcaster.OnEventRaised |
RegisterInteractionType< TInteractor, TInteractable >
()
|
Registers a specific pair of Interactor and Interactable types for event monitoring.
This method subscribes to the static registration events of the corresponding InteractableRegistry<TInteractor, TInteractable> and registers all currently existing interactables of that type.
Signature
void Oculus.Interaction.Feedback.InteractionBroadcaster.RegisterInteractionType< TInteractor, TInteractable >() Returns void |
UnregisterInteractionType< TInteractor, TInteractable >
()
|
Stops monitoring a specific pair of Interactor and Interactable types.
This method unsubscribes from the static registration events of the InteractableRegistry<TInteractor, TInteractable>. Note: It does not automatically unregister currently tracked interactables of this type; that is typically handled in OnDisable or by direct calls to UnregisterInteractable.
Signature
void Oculus.Interaction.Feedback.InteractionBroadcaster.UnregisterInteractionType< TInteractor, TInteractable >() Returns void |
RegisterCustomInteractionType< TInteractor, TInteractable >
()
|
Allows external static invocation to register a custom interaction type pair using the active InteractionBroadcaster instance.
If no instance exists, a warning is logged.
Signature
static void Oculus.Interaction.Feedback.InteractionBroadcaster.RegisterCustomInteractionType< TInteractor, TInteractable >() Returns void |
UnregisterCustomInteractionType< TInteractor, TInteractable >
()
|
Allows external static invocation to unregister a custom interaction type pair using the active InteractionBroadcaster instance.
If no instance exists, a warning is logged.
Signature
static void Oculus.Interaction.Feedback.InteractionBroadcaster.UnregisterCustomInteractionType< TInteractor, TInteractable >() Returns void |