Method GetInstanceByType
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. |