Class EditorScriptableSettings<T>
A helper class for accessing settings stored in ScriptableObject instances from UnityEditor
code.
Inheritance
EditorScriptableSettings<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.Editor
Assembly: Unity.XR.CoreUtils.Editor.dll
Syntax
public abstract class EditorScriptableSettings<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. |