docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class WebPlayerSettings

    A structure that garthers up all pertinent Web Player settings (UnityEditor.PlayerSettings.WebGL). In the Editor these can be found from Edit > Project Settings > Player > Web settings.

    Inheritance
    object
    WebPlayerSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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()

    Fields

    closeOnQuit

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public bool closeOnQuit
    Field Value
    Type Description
    bool

    compressionFormat

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public WebGLCompressionFormat compressionFormat
    Field Value
    Type Description
    WebGLCompressionFormat

    dataCaching

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public bool dataCaching
    Field Value
    Type Description
    bool

    debugSymbolMode

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public WebGLDebugSymbolMode debugSymbolMode
    Field Value
    Type Description
    WebGLDebugSymbolMode

    decompressionFallback

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public bool decompressionFallback
    Field Value
    Type Description
    bool

    emscriptenArgs

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public string emscriptenArgs
    Field Value
    Type Description
    string

    enableSubmoduleStrippingCompatibility

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public bool enableSubmoduleStrippingCompatibility
    Field Value
    Type Description
    bool

    exceptionSupport

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public WebGLExceptionSupport exceptionSupport
    Field Value
    Type Description
    WebGLExceptionSupport

    geometricMemoryGrowthStep

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public float geometricMemoryGrowthStep
    Field Value
    Type Description
    float

    initialMemorySize

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public int initialMemorySize
    Field Value
    Type Description
    int

    linearMemoryGrowthStep

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public int linearMemoryGrowthStep
    Field Value
    Type Description
    int

    linkerTarget

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public WebGLLinkerTarget linkerTarget
    Field Value
    Type Description
    WebGLLinkerTarget

    maximumMemorySize

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public int maximumMemorySize
    Field Value
    Type Description
    int

    memoryGeometricGrowthCap

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public int memoryGeometricGrowthCap
    Field Value
    Type Description
    int

    memoryGrowthMode

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public WebGLMemoryGrowthMode memoryGrowthMode
    Field Value
    Type Description
    WebGLMemoryGrowthMode

    memorySize

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public int memorySize
    Field Value
    Type Description
    int

    modulesDirectory

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public string modulesDirectory
    Field Value
    Type Description
    string

    nameFilesAsHashes

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public bool nameFilesAsHashes
    Field Value
    Type Description
    bool

    powerPreference

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public WebGLPowerPreference powerPreference
    Field Value
    Type Description
    WebGLPowerPreference

    showDiagnostics

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public bool showDiagnostics
    Field Value
    Type Description
    bool

    template

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public string template
    Field Value
    Type Description
    string

    threadsSupport

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public bool threadsSupport
    Field Value
    Type Description
    bool

    useEmbeddedResources

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public bool useEmbeddedResources
    Field Value
    Type Description
    bool

    wasm2023

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public bool wasm2023
    Field Value
    Type Description
    bool

    webAssemblyBigInt

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public bool webAssemblyBigInt
    Field Value
    Type Description
    bool

    webAssemblyTable

    See https://docs.unity3d.com/Manual/class-PlayerSettingsWebGL.html

    Declaration
    public bool webAssemblyTable
    Field Value
    Type Description
    bool

    Methods

    FromPlayerSettings()

    Constructs a new WebPlayerSettings with values read from current Player Settings.

    Declaration
    public static WebPlayerSettings FromPlayerSettings()
    Returns
    Type Description
    WebPlayerSettings

    WebPlayerSettings with the current player settings.

    ReadFromPlayerSettings()

    Applies the settings from UnityEditor.PlayerSettings.WebGL to this object.

    Declaration
    public void ReadFromPlayerSettings()

    WriteToPlayerSettings()

    Applies the settings to UnityEditor.PlayerSettings.WebGL.

    Declaration
    public void WriteToPlayerSettings()
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)