GEMPluginSettings¶
Namespace: wevr.GEM.Runtime
Type: Class
Inherits: ScriptableObject
Description¶
Stores GEM Settings This data can be received by other classes via GEMSettings.Instance This data can be modified in ProjectSettings -> Group Experience Manager.
Nested Types¶
GEMZoneBoundsGEMZoneSpecificationGEMObstructionGEMAvatar
Properties¶
GEMApiPort¶
string GEMApiPort { get; set; }
-port-///
GEMAppName¶
string GEMAppName { get; set; }
APP INFO.
GEMAppVersion¶
string GEMAppVersion { get; set; }
GEMReceivePort¶
int GEMReceivePort { get; set; }
GEMServerIP¶
string GEMServerIP { get; set; }
NETWORK SETTINGS.
GameServerIP¶
string GameServerIP { get; set; }
GameServerPort¶
int GameServerPort { get; set; }
GroupSize¶
uint GroupSize { get; set; }
Instance¶
static GEMPluginSettings Instance { get; set; }
InternalLaunchArguments¶
string[] InternalLaunchArguments { get; set; }
Languages¶
GEMLanguage[] Languages { get; set; }
LaunchArgumentsInitialized¶
bool LaunchArgumentsInitialized { get; set; }
Obstructions¶
GEMObstruction[] Obstructions { get; set; }
Bounding Boxes for any location specific obstructions. Defined in UserGEMSettings.ini.
ReleaseMode¶
bool ReleaseMode { get; set; }
If True, behave as a Release Build, e.g. Hiding Debug Messages in the Startup Scenes.
UseGEM¶
static bool UseGEM { get; set; }
PLUGIN SETTINGS.
debugLevel¶
GEMDebug.DebugLevel debugLevel { get; set; }
UNITY SETTINGS.
deviceName¶
static string deviceName { get; set; }
groupId¶
int groupId { get; set; }
maxPlayers¶
uint maxPlayers { get; set; }
runtimeAssetPath¶
static string runtimeAssetPath { get; set; }
zoneBounds¶
GEMZoneBounds[] zoneBounds { get; set; }
zoneSequence¶
GEMZoneSpecification[] zoneSequence { get; set; }
Methods¶
AddInternalLaunchArg¶
void AddInternalLaunchArg(string arg)
FindInstance¶
static GEMPluginSettings FindInstance()
Find the GEMSettings instance.
GetActiveLanguage¶
GEMLanguage GetActiveLanguage(string languageCode)
GetDefaultLanguage¶
static GEMLanguage GetDefaultLanguage()
InitializeLaunchArguments¶
void InitializeLaunchArguments()
RemoveInternalLaunchArg¶
void RemoveInternalLaunchArg(string arg)
SaveToProjectSettings¶
static void SaveToProjectSettings(GEMPluginSettings gemSettings)
Saves the GEMSettings to the ProjectSettings Folder.
SetDefaultLanguage¶
void SetDefaultLanguage(string code)
SetObstructions¶
void SetObstructions(GEMObstruction[] obstructions)
SetZoneBounds¶
void SetZoneBounds(Bounds[] bounds)
SetZoneSequence¶
void SetZoneSequence(GEMZoneSpecification[] newZoneSequence)
Fields¶
PortOffsetGemListener¶
static const int PortOffsetGemListener
-other-///
SignupAppAvatars¶
GEMAvatar[] SignupAppAvatars
SignupAppBackground¶
Texture2D SignupAppBackground
defaultLanguageIndex¶
int defaultLanguageIndex
gemLauncherPath¶
static const string gemLauncherPath
GEMLAUNCHER.
locationSizes¶
Vector2[] locationSizes
LBE Settings.