docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method OnLinkedToBody

    OnLinkedToBody(XRMovableBody)

    Called after the given body links this manipulator to it. The implementation should ensure that linkedBody points to body after this method is called.

    Declaration
    void OnLinkedToBody(XRMovableBody body)
    Parameters
    Type Name Description
    XRMovableBody body

    The body linked with this manipulator.

    See Also
    LinkConstrainedManipulator(IConstrainedXRBodyManipulator)
    OnUnlinkedFromBody()
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)