docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Spawn

    Spawn(bool)

    Spawns this NetworkObject across the network. Can only be called from the Server

    Declaration
    public void Spawn(bool destroyWithScene = false)
    Parameters
    Type Name Description
    bool destroyWithScene

    Should the object be destroyed when the scene is changed

    In This Article
    Back to top
    Copyright © 2024 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)