Class ScriptableSettingsBase
Base class for all scriptable settings that is easier to look up via-reflection.
Inherited Members
Namespace: Unity.XR.CoreUtils
Syntax
public abstract class ScriptableSettingsBase : ScriptableObject
Remarks
DO NOT USE THIS CLASS DIRECTLY - Use the generic version, ScriptableSettingsBase<T>.
Fields
PathExceptionMessage
Message to display when path is invalid.
Declaration
protected const string PathExceptionMessage = "Exception caught trying to create path."
Field Value
Type | Description |
---|---|
String |
Methods
GetInstanceByType(Type)
Looks up the static 'Instance' property of the given ScriptableSettings.
Declaration
public static ScriptableSettingsBase GetInstanceByType(Type settingsType)
Parameters
Type | Name | Description |
---|---|---|
Type | settingsType | The type that refers to a singleton class, which implements an 'Instance' property. |
Returns
Type | Description |
---|---|
ScriptableSettingsBase | The actual singleton instance of the specified class. |
OnLoaded()
Function called when all scriptable settings are loaded and ready for use.
Declaration
protected virtual void OnLoaded()