Skip to content

Mirror::NetworkManagerHUD

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

Inherits from MonoBehaviour

Public Attributes

Name
bool showGUI
Whether to show the default control HUD at runtime.
int offsetX
The horizontal offset in pixels to draw the HUD runtime GUI at.
int offsetY
The vertical offset in pixels to draw the HUD runtime GUI at.

Detailed Description

class Mirror::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.

Public Attributes Documentation

variable showGUI

bool showGUI = true;

Whether to show the default control HUD at runtime.

variable offsetX

int offsetX;

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

variable offsetY

int offsetY;

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


Updated on 18 January 2021 at 09:53:54 UTC