Skip to main content

Class HeadlessAutoStart

Inheritance
System.Object
Syntax
public class HeadlessAutoStart : MonoBehaviour

Fields

Server

Declaration
public NetworkServer Server

startOnHeadless

Automatically invoke StartServer() If the application is a Server Build or run with the -batchMode ServerRpc line argument, StartServer is automatically invoked.

Declaration
public bool startOnHeadless