Class WebPlayerSettings
A structure that gathers up all Web Player settings,
in particular, those defined in (UnityEditor.PlayerSettings.WebGL
),
and Web Build Settings.
Inherited Members
Namespace: Unity.Web.Stripping.Editor
Assembly: Unity.Web.Stripping.Editor.dll
Syntax
[Serializable]
public class WebPlayerSettings
Constructors
WebPlayerSettings()
Constructs with default-initialized values.
Declaration
public WebPlayerSettings()
See Also
Fields
BuildSettings
The build settings used together with the Player settings.
Declaration
public WebBuildSettings BuildSettings
Field Value
Type | Description |
---|---|
Web |
See Also
closeOnQuit
Refer to PlayerSettings.WebGL.closeOnQuit
.
Declaration
public bool closeOnQuit
Field Value
Type | Description |
---|---|
bool |
See Also
compressionFormat
Refer to PlayerSettings.WebGL.compressionFormat
.
Declaration
public WebGLCompressionFormat compressionFormat
Field Value
Type | Description |
---|---|
Web |
See Also
dataCaching
Refer to PlayerSettings.WebGL.dataCaching
.
Declaration
public bool dataCaching
Field Value
Type | Description |
---|---|
bool |
See Also
debugSymbolMode
Refer to PlayerSettings.WebGL.debugSymbolMode
.
Declaration
public WebGLDebugSymbolMode debugSymbolMode
Field Value
Type | Description |
---|---|
Web |
See Also
decompressionFallback
Declaration
public bool decompressionFallback
Field Value
Type | Description |
---|---|
bool |
See Also
enableSubmoduleStrippingCompatibility
Declaration
public bool enableSubmoduleStrippingCompatibility
Field Value
Type | Description |
---|---|
bool |
See Also
exceptionSupport
Refer to PlayerSettings.WebGL.exceptionSupport
.
Declaration
public WebGLExceptionSupport exceptionSupport
Field Value
Type | Description |
---|---|
Web |
See Also
geometricMemoryGrowthStep
Declaration
public float geometricMemoryGrowthStep
Field Value
Type | Description |
---|---|
float |
See Also
il2CppCodeGeneration
Refer to Il2CppCodeGeneration
.
Declaration
public Il2CppCodeGeneration il2CppCodeGeneration
Field Value
Type | Description |
---|---|
Il2Cpp |
See Also
il2CppCompilerConfiguration
Refer to Il2CppCompilerConfiguration
.
Declaration
public Il2CppCompilerConfiguration il2CppCompilerConfiguration
Field Value
Type | Description |
---|---|
Il2Cpp |
See Also
initialMemorySize
Refer to PlayerSettings.WebGL.initialMemorySize
.
Declaration
public int initialMemorySize
Field Value
Type | Description |
---|---|
int |
See Also
linearMemoryGrowthStep
Declaration
public int linearMemoryGrowthStep
Field Value
Type | Description |
---|---|
int |
See Also
linkerTarget
Refer to PlayerSettings.WebGL.linkerTarget
.
Declaration
public WebGLLinkerTarget linkerTarget
Field Value
Type | Description |
---|---|
Web |
See Also
managedStrippingLevel
Refer to ManagedStrippingLevel
.
Declaration
public ManagedStrippingLevel managedStrippingLevel
Field Value
Type | Description |
---|---|
Managed |
See Also
maximumMemorySize
Refer to PlayerSettings.WebGL.maximumMemorySize
.
Declaration
public int maximumMemorySize
Field Value
Type | Description |
---|---|
int |
See Also
memoryGeometricGrowthCap
Declaration
public int memoryGeometricGrowthCap
Field Value
Type | Description |
---|---|
int |
See Also
memoryGrowthMode
Refer to PlayerSettings.WebGL.memoryGrowthMode
.
Declaration
public WebGLMemoryGrowthMode memoryGrowthMode
Field Value
Type | Description |
---|---|
Web |
See Also
memorySize
Refer to PlayerSettings.WebGL.memorySize
.
Declaration
public int memorySize
Field Value
Type | Description |
---|---|
int |
See Also
nameFilesAsHashes
Refer to PlayerSettings.WebGL.nameFilesAsHashes
.
Declaration
public bool nameFilesAsHashes
Field Value
Type | Description |
---|---|
bool |
See Also
powerPreference
Refer to PlayerSettings.WebGL.powerPreference
.
Declaration
public WebGLPowerPreference powerPreference
Field Value
Type | Description |
---|---|
Web |
See Also
showDiagnostics
Refer to PlayerSettings.WebGL.showDiagnostics
.
Declaration
public bool showDiagnostics
Field Value
Type | Description |
---|---|
bool |
See Also
template
Refer to PlayerSettings.WebGL.template
.
Declaration
public string template
Field Value
Type | Description |
---|---|
string |
See Also
threadsSupport
Refer to PlayerSettings.WebGL.threadsSupport
.
Declaration
public bool threadsSupport
Field Value
Type | Description |
---|---|
bool |
See Also
useEmbeddedResources
Refer to Embedded resources in Web.
Declaration
public bool useEmbeddedResources
Field Value
Type | Description |
---|---|
bool |
See Also
wasm2023
Refer to PlayerSettings.WebGL.wasm2023
.
Declaration
public bool wasm2023
Field Value
Type | Description |
---|---|
bool |
See Also
webAssemblyBigInt
Refer to PlayerSettings.WebGL.webAssemblyBigInt
.
Declaration
public bool webAssemblyBigInt
Field Value
Type | Description |
---|---|
bool |
See Also
webAssemblyTable
Refer to PlayerSettings.WebGL.webAssemblyTable
.
Declaration
public bool webAssemblyTable
Field Value
Type | Description |
---|---|
bool |
See Also
Methods
FromPlayerSettings()
Constructs a new WebPlayerSettings
with values read from current Player settings.
Declaration
public static WebPlayerSettings FromPlayerSettings()
Returns
Type | Description |
---|---|
Web |
|
See Also
ReadFromPlayerSettings()
Applies the settings from UnityEditor.PlayerSettings.WebGL
to this object.
Declaration
public void ReadFromPlayerSettings()
See Also
WriteToPlayerSettings()
Applies the settings to UnityEditor.PlayerSettings.WebGL
.
Declaration
public void WriteToPlayerSettings()