Class ScriptableSettings<T>
A helper class for accessing settings stored in ScriptableObject instances.
Inheritance
ScriptableSettings<T>
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.XR.CoreUtils
Assembly: Unity.XR.CoreUtils.dll
Syntax
public abstract class ScriptableSettings<T> : ScriptableSettingsBase<T> where T : ScriptableObject
Type Parameters
Name | Description |
---|---|
T | A class derived from ScriptableObject. |
Properties
Instance
Retrieves a reference to the given settings class. Loads and initializes the class once, and caches the reference for all future access.
Declaration
public static T Instance { get; }
Property Value
Type | Description |
---|---|
T | A settings class derived from ScriptableObject. |