docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    AttachableNode

    Use an AttachableNode component to provide an attachment point for an AttachableBehaviour component.

    AttachableNodes include a Detach On Despawn field that, when enabled (the default setting), automatically detaches and destroys any attached AttachableBehaviour instances when the associated NetworkObject of the AttachableNode is despawned.

    Inspector view UI with details of AttachableNode component

    AttachableBehaviour example

    Refer to the AttachableBehaviour example for an example of how to use the AttachableNode component with an AttachableBehaviour component.

    Additional resources

    • AttachableBehaviour
    • ComponentController
    In This Article
    Back to top
    Copyright © 2025 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)