docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Remove

    Remove(NetworkPrefab)

    Remove a NetworkPrefab instance from the list

    Declaration
    public void Remove(NetworkPrefab prefab)
    Parameters
    Type Name Description
    NetworkPrefab prefab
    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.

    Remove(GameObject)

    Remove a NetworkPrefab instance with matching Prefab from the list

    Declaration
    public void Remove(GameObject prefab)
    Parameters
    Type Name Description
    GameObject prefab
    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)