Class NetworkManagerHUD | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class NetworkManagerHUD

    An extension for the NetworkManager that displays a default HUD for controlling the network state of the game.

    This component also shows useful internal state for the networking system in the inspector window of the editor. It allows users to view connections, networked objects, message handlers, and packet statistics. This information can be helpful when debugging networked games.

    Inheritance
    System.Object
    NetworkManagerHUD
    Namespace: UnityEngine.Networking
    Syntax
    [Obsolete("The high level API classes are deprecated and will be removed in the future.")]
    public class NetworkManagerHUD : MonoBehaviour

    Fields

    manager

    The NetworkManager associated with this HUD.

    Declaration
    public NetworkManager manager
    Field Value
    Type Description
    NetworkManager

    offsetX

    The horizontal offset in pixels to draw the HUD runtime GUI at.

    Declaration
    public int offsetX
    Field Value
    Type Description
    System.Int32

    offsetY

    The vertical offset in pixels to draw the HUD runtime GUI at.

    Declaration
    public int offsetY
    Field Value
    Type Description
    System.Int32

    showGUI

    Whether to show the default control HUD at runtime.

    Declaration
    public bool showGUI
    Field Value
    Type Description
    System.Boolean
    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX