docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate NetworkObject.SpawnDelegate

    Delegate type for checking spawn options.

    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public delegate bool NetworkObject.SpawnDelegate(ulong clientId)
    Parameters
    Type Name Description
    ulong clientId

    The clientId being checked for visibility.

    Returns
    Type Description
    bool

    True if the object should be visible to the specified client and false if it should not.

    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)