Dungeon Architect
17.0.0
|
Caches instances by their name so they can be reused when needed again instead of recreating it More...
Public Member Functions | |
ScriptableObject | GetInstance (string typeName) |
Retrieves the instance of the specified ScriptableObject type name. If none exists, a new one is created and stored More... | |
void | Clear () |
Caches instances by their name so they can be reused when needed again instead of recreating it
Definition at line 13 of file InstanceCache.cs.
ScriptableObject DungeonArchitect.Utils.InstanceCache.GetInstance | ( | string | typeName | ) |
Retrieves the instance of the specified ScriptableObject type name. If none exists, a new one is created and stored
typeName | The typename of the ScriptableObject |
Definition at line 21 of file InstanceCache.cs.