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
               
              
              
              
              
              
                  
              
                     
              
                
                  |
                  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 Parameters
              
              
              
              
              
              
              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
              
              
              
 
              
               
              
              
              
              
              Extension Methods