Skip to content

API.Unity.Service.Cache

JuDelCo edited this page May 17, 2021 · 1 revision

ICacheService (Extensions)

Extension methods to allow using the ICacheService with ScriptableObjects

T InstanceSO<T>();
T SetSO<T>(T data);
T SetSO<T>(T data, string id);
T GetSO<T>(bool autoCreate = true);
T GetSO<T>(string id, bool autoCreate = true);
Clone this wiki locally