IXRInteractableEventRoute Interface

Definition

This interface represents an object that relays IXRInteractable events from interactables to game objects that contain IXRInteractableEventRouteTarget components.

C#
public interface IXRInteractableEventRoute
Derived

Remarks

This is an experimental feature. This class is early in the cycle, it has been labeled as experimental to indicate that it is still evolving, and subject to change over time. Parts of the MRTK, such as this class, appear to have a lot of value even if the details haven't fully been fleshed out. For these types of features, we want the community to see them and get value out of them early enough so to provide feedback.

Methods

OnEnabled(GameObject)

Enable this event route by searching for IXRInteractableEventRouteTarget.

Register(IXRInteractable)

Starts listening to events from an unregistered IXRInteractable.

Unregister(IXRInteractable)

Stop listening to events from a registered IXRInteractable.

Applies to

Product Versions
MRTK3 Core Definitions 3.0, 3.1, 3.2