Dungeon Architect
17.0.0
|
Manages the asset thumbnails to display in the visual nodes More...
Public Member Functions | |
void | Reset () |
Clears all the thumbnail from the cache More... | |
Texture2D | GetThumb (Object asset) |
Gets the thumbnail of the specified asset. Tries to retrieve it from the cache, if it was accessed earlier More... | |
void | Update () |
Properties | |
static AssetThumbnailCache | Instance [get] |
Singleton access More... | |
Manages the asset thumbnails to display in the visual nodes
Definition at line 12 of file AssetThumbnailCache.cs.
Texture2D DungeonArchitect.Editors.AssetThumbnailCache.GetThumb | ( | Object | asset | ) |
Gets the thumbnail of the specified asset. Tries to retrieve it from the cache, if it was accessed earlier
asset | The asset to get the thumbnail for |
Definition at line 64 of file AssetThumbnailCache.cs.
void DungeonArchitect.Editors.AssetThumbnailCache.Reset | ( | ) |
Clears all the thumbnail from the cache
Definition at line 52 of file AssetThumbnailCache.cs.
|
staticget |
Singleton access
Definition at line 31 of file AssetThumbnailCache.cs.