docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Add

    Add(NetworkPrefab)

    Add a new NetworkPrefab instance to the list

    Declaration
    public bool Add(NetworkPrefab networkPrefab)
    Parameters
    Type Name Description
    NetworkPrefab networkPrefab
    Returns
    Type Description
    bool
    Remarks

    The framework does not synchronize this list between clients. Any runtime changes must be handled manually.

    Any modifications made here are not persisted. Permanent configuration changes should be done through the NetworkPrefabsList scriptable object property.

    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)