Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    PackageUserSettings Class

    Namespace: Stride.Core.Assets
    Assembly: Stride.Core.Assets.dll

    A class representing the user settings related to a Package. These settings are stored in a .user file along the package file.

    System.Object → PackageUserSettings
    Derived from PackageUserSettings:

    public class PackageUserSettings
    Name Description
    Fields
    SettingsContainer
    Properties
    Profile
    Methods
    GetValue<T>(SettingsKey<T>)
    Save()
    SetValue<T>(SettingsKey<T>, T)
    | Improve this Doc View Source

    Fields


    SettingsContainer

    public static SettingsContainer SettingsContainer
    Field Value
    Type Description
    Stride.Core.Settings.SettingsContainer
    | Improve this Doc View Source

    Properties


    Profile

    public SettingsProfile Profile { get; }
    Property Value
    Type Description
    Stride.Core.Settings.SettingsProfile
    | Improve this Doc View Source

    Methods


    GetValue<T>(SettingsKey<T>)

    public T GetValue<T>(SettingsKey<T> key)
    Parameters
    Type Name Description
    Stride.Core.Settings.SettingsKey<T> key
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    Save()

    public bool Save()
    Returns
    Type Description
    System.Boolean

    SetValue<T>(SettingsKey<T>, T)

    public void SetValue<T>(SettingsKey<T> key, T value)
    Parameters
    Type Name Description
    Stride.Core.Settings.SettingsKey<T> key
    T value
    Type Parameters
    Name Description
    T

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation