GEM_GameSession¶
Namespace: wevr.GEM.Runtime
Type: Class
Inherits: MonoBehaviour
Description¶
Handles an session of the game. That is, the server-side setup of the group. This script needs to exist in the server's startup scene and stays persistent on the server. This script is null on clients.
Properties¶
Instance¶
static GEM_GameSession Instance { get; set; }
Get the Singleton Instance. Note: ONLY exists on dedicated servers. The instance will return null on clients.
Ready¶
static bool Ready { get; set; }
Is set to true if the game session was successfully initialized.
ServerConfiguration¶
GEMServerConfiguration ServerConfiguration { get; set; }
SessionName¶
string SessionName { get; set; }
The session name of this server.