Nebula
Client

NebulaTitleScreen

Optional IMGUI panel where a player enters the gateway address and a display name before connecting.

generated from the sources
public sealed class NebulaTitleScreen : MonoBehaviour

Optional IMGUI panel where a player enters the gateway address and a display name before connecting. Add it to the same GameObject as NebulaBootstrap; Nebula > Set Up Active Scene adds it for you. Without it, a client started with no connection arguments stays idle until your own UI calls NebulaClient.ConnectTo. The panel stays hidden in processes without the client role and when -nebula-gateway, -nebula-bot, or -nebula-connect supplies the connection (NebulaClient.ConnectsAutomatically). It hides once the local player spawns; press Escape to show it again. The entered values persist in PlayerPrefs.

Fields

Client

public NebulaClient Client;

The client to connect. Leave empty to use NebulaBootstrap.Client once the bootstrap creates it.

Methods

TryParse

public static bool TryParse(string text, out string address, out ushort port);

On this page