Class AddressableAssetCache
Inheritance
AddressableAssetCache
Assembly: cs.temp.dll.dll
Syntax
public static class AddressableAssetCache
Methods
CacheAsset(String, String, Object)
Declaration
public static void CacheAsset(string key, string addressableAddress, object asset)
Parameters
Cleanup()
Declaration
public static void Cleanup()
GetAllCachedAssets()
Declaration
public static List<object> GetAllCachedAssets()
Returns
LookupAddress(String)
Declaration
public static string LookupAddress(string assetRefGuid)
Parameters
Type |
Name |
Description |
String |
assetRefGuid |
|
Returns
MapGuidToAddress(String, String)
Declaration
public static void MapGuidToAddress(string assetRefGuid, string addressableAddress)
Parameters
Type |
Name |
Description |
String |
assetRefGuid |
|
String |
addressableAddress |
|
TryGetCachedAsset<T>(String, out T)
Declaration
public static bool TryGetCachedAsset<T>(string addressableAddress, out T asset)
Parameters
Type |
Name |
Description |
String |
addressableAddress |
|
T |
asset |
|
Returns
Type Parameters
UncacheAsset(Object)
Declaration
public static void UncacheAsset(object asset)
Parameters
Type |
Name |
Description |
Object |
asset |
|
UncacheAssets(String)
Declaration
public static void UncacheAssets(string key)
Parameters
Type |
Name |
Description |
String |
key |
|