Table of Contents

Class PackageUserSettings

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.

public class PackageUserSettings
Inheritance
object
PackageUserSettings
Extension Methods

Fields

SettingsContainer

public static SettingsContainer SettingsContainer

Field Value

SettingsContainer

SettingsExtension

The extension added to the path of the package file to get the path of its user settings file.

public const string SettingsExtension = ".user"

Field Value

string

Properties

Profile

public SettingsProfile Profile { get; }

Property Value

SettingsProfile

Methods

GetValue<T>(SettingsKey<T>)

public T GetValue<T>(SettingsKey<T> key)

Parameters

key SettingsKey<T>

Returns

T

Type Parameters

T

Save()

public bool Save()

Returns

bool

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

public void SetValue<T>(SettingsKey<T> key, T value)

Parameters

key SettingsKey<T>
value T

Type Parameters

T