Language
Edit

InteractableEventRouterChildSource Class

Definition

A Unity component that provides a mechanism to handle children being dynamically added to a container. A InteractableEventRouter can use this class to determine when children are dynamically added to a container.

[UnityEngine.AddComponentMenu("MRTK/Core/Interactable Event Router Child Source")]
public class InteractableEventRouterChildSource : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("MRTK/Core/Interactable Event Router Child Source")>]
type InteractableEventRouterChildSource = class
    inherit MonoBehaviour
Public Class InteractableEventRouterChildSource
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
InteractableEventRouterChildSource
Attributes
UnityEngine.AddComponentMenuAttribute

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.

Constructors

Name Description
InteractableEventRouterChildSource()

Properties

Name Description
ChildrenChanged

A Unity event fired when new child transforms are added to or removed from this game object.

Applies to