Class XRInteractionManager | XR Interaction Toolkit | 0.0.6-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class XRInteractionManager

    The Interaction Manager acts as an intermediary between Interactors and Interactables in a scene.
    It is possible to have multiple Interaction Managers, each with their own valid set of Interactors and Interactables.
    Upon Awake both Interactors and Interactables register themselves with a valid Interaction Manager in the scene (if a specific one has not already been assigned in the inspector). Every scene must have at least one Interaction Mananger for Interactors and Interactables to be able to communicate.

    Inheritance
    Object
    XRInteractionManager
    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    public class XRInteractionManager : MonoBehaviour
    Remarks

    Many of the methods on this class are designed to be internal such that they can be called by the abstract base classes of the Interaction system (but are not called directly).

    Methods

    OnDisable()

    Declaration
    protected virtual void OnDisable()

    OnEnable()

    Declaration
    protected virtual void OnEnable()
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX