logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityGameGraphicsSettings

    Unity-specific ScriptableObject configuration for game graphics settings management.
    Implements IGameGraphicsSettings and IFoundationSettings to provide graphics configuration with Unity editor integration through CreateAssetMenu attribute. Contains key mappings for quality level, screen resolution, and fullscreen mode settings that link graphics controls to persistent game settings storage.

    Inheritance
    object
    UnityGameGraphicsSettings
    Implements
    IGameGraphicsSettings
    IFoundationSettings
    Namespace: Serenity.GameGraphics.Installation.Settings
    Assembly: Serenity.UnityGameGraphics.Installation.dll
    Syntax
    public class UnityGameGraphicsSettings : ScriptableObject, IGameGraphicsSettings, IFoundationSettings

    Constructors

    UnityGameGraphicsSettings(string, string, string)

    Initializes a new instance of the UnityGameGraphicsSettings ScriptableObject with specified keys.
    Used for programmatic creation of settings configurations with defined key mappings for quality level, screen resolution, and fullscreen mode settings.

    Declaration
    public UnityGameGraphicsSettings(string qualityLevelKey, string screenResolutionKey, string isFullScreenKey)
    Parameters
    Type Name Description
    string qualityLevelKey

    Key identifier for quality level setting

    string screenResolutionKey

    Key identifier for screen resolution setting

    string isFullScreenKey

    Key identifier for fullscreen mode setting

    Fields

    DefaultIsFullScreen

    Declaration
    public bool DefaultIsFullScreen
    Field Value
    Type Description
    bool

    Gets or sets the default fullscreen mode state used when no persisted value exists.

    DefaultQualityLevel

    Declaration
    public string DefaultQualityLevel
    Field Value
    Type Description
    string

    Gets or sets the default quality level name used when no persisted value exists.

    DefaultResolutionHeight

    Declaration
    public int DefaultResolutionHeight
    Field Value
    Type Description
    int

    Gets or sets the default screen resolution height used when no persisted value exists.

    DefaultResolutionWidth

    Declaration
    public int DefaultResolutionWidth
    Field Value
    Type Description
    int

    Gets or sets the default screen resolution width used when no persisted value exists.

    Guid

    Declaration
    public string Guid
    Field Value
    Type Description
    string

    Gets or sets the GUID for this settings configuration.

    Id

    Declaration
    public string Id
    Field Value
    Type Description
    string

    Gets or sets the unique identifier for this settings configuration.

    IsFullScreenKey

    Declaration
    public string IsFullScreenKey
    Field Value
    Type Description
    string

    Gets or sets the key identifier for fullscreen mode settings in persistent storage.

    QualityLevelKey

    Declaration
    public string QualityLevelKey
    Field Value
    Type Description
    string

    Gets or sets the key identifier for quality level settings in persistent storage.

    ScreenResolutionKey

    Declaration
    public string ScreenResolutionKey
    Field Value
    Type Description
    string

    Gets or sets the key identifier for screen resolution settings in persistent storage.

    Implements

    IGameGraphicsSettings
    IFoundationSettings
    In this article
    © 2026 Serenity. All Rights Reserved