Class Settings<TSelf, TCollection>
Base class for project/user settings per build target.
- Do not be confused with Settings.
- Settings are managed by and stored within SettingsBuildTargetCollection.
public abstract class Settings<TSelf, TCollection> : ScriptableObject where TSelf : Settings<TSelf, TCollection> where TCollection : SettingsBuildTargetCollection<TSelf, TCollection>
Type Parameters
| Name | Type | Description |
|---|---|---|
TSelf | The settings class itself. | |
TCollection | The collection type storeing this setting. |
Inheritance
Properties
instance
Accessor to singleton instance of the selected build target group setting.
public static TSelf instance { get; }
Property Value
TSelf
Methods
GetSettingsForBuildTargetGroup(BuildTargetGroup)
Returns the Settings object for the given BuildTargetGroup
public static TSelf GetSettingsForBuildTargetGroup(BuildTargetGroup buildTargetGroup)
Parameters
| Name | Type | Description |
|---|---|---|
buildTargetGroup | BuildTargetGroup | BuildTargetGroup to request settings for |
Returns
TSelf — OpenXRSettings object for the given build target group