docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Interface INetworkStreamDriverConstructor

    Factory interface that needs to be implemented by a concrete class for creating and registering new NetworkDriver instances.

    Namespace: Unity.NetCode
    Assembly: solution.dll
    Syntax
    public interface INetworkStreamDriverConstructor

    Methods

    Name Description
    CreateClientDriver(World, ref NetworkDriverStore, NetDebug)

    Register to the driver store a new instance of NetworkDriver suitable to be used by clients.

    CreateServerDriver(World, ref NetworkDriverStore, NetDebug)

    Register to the driver store a new instance of NetworkDriver suitable to be used by servers.

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