Class XRInteractionManager | XR Interaction Toolkit | 0.0.6-preview
docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023