docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method IsServer

    IsServer(World)

    Check if a world is a server.

    Declaration
    public static bool IsServer(this World world)
    Parameters
    Type Name Description
    World world

    A World instance

    Returns
    Type Description
    bool

    IsServer(WorldUnmanaged)

    Check if an unmanaged world is a server.

    Declaration
    public static bool IsServer(this WorldUnmanaged world)
    Parameters
    Type Name Description
    WorldUnmanaged world

    A WorldUnmanaged instance

    Returns
    Type Description
    bool
    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)