If applied at the assembly level, allows QuantumGlobalScriptableObject<T> to be loaded with Resources. There is a default registration for this attribute, which attempts to load the asset from Resources using path from QuantumGlobalScriptableObjectAttribute.
More...
|
| bool | InstantiateIfLoadedInEditor = true [get, set] |
| | If loaded in the editor, should the result be instantiated instead of returning the asset itself? The default is true. More...
|
| |
| string | ResourcePath [get] |
| | Path in Resources. More...
|
| |
| bool | AllowEditMode = false [get, set] |
| | Can this loader be used in edit mode. More...
|
| |
| bool | AllowFallback = false [get, set] |
| | Does this loader allow fallback to the next loader? More...
|
| |
| Type | ObjectType [get] |
| | Type or the base type of QuantumGlobalScriptableObject that this loader supports. More...
|
| |
| int | Order [get, set] |
| | Order in which this loader will be executed. Lower values are executed first. More...
|
| |
If applied at the assembly level, allows QuantumGlobalScriptableObject<T> to be loaded with Resources. There is a default registration for this attribute, which attempts to load the asset from Resources using path from QuantumGlobalScriptableObjectAttribute.
◆ QuantumGlobalScriptableObjectResourceAttribute()
| Quantum.QuantumGlobalScriptableObjectResourceAttribute.QuantumGlobalScriptableObjectResourceAttribute |
( |
Type |
objectType, |
|
|
string |
resourcePath = "" |
|
) |
| |
|
inline |
◆ Load()
◆ LoadAsync()
◆ ResourcePath
| string Quantum.QuantumGlobalScriptableObjectResourceAttribute.ResourcePath |
|
get |
◆ InstantiateIfLoadedInEditor
| bool Quantum.QuantumGlobalScriptableObjectResourceAttribute.InstantiateIfLoadedInEditor = true |
|
getset |
If loaded in the editor, should the result be instantiated instead of returning the asset itself? The default is true.