This class is used to allow caching of icons in the project view, for specific GUIDs. The existence of such a cashed icon can be checked, so that it does not need to be regenerated.
Static Public Member Functions | |
static void | Clear () |
clears the entire cache | |
static Texture2D | GetCashedIconForGUID (string guid) |
Checks to see if a Texture has been cached for the specified GUID. | |
static void | SetCashedIconForGUID (string guid, Texture2D iconToCache) |
Assigns or overwrites the cashed texture for the provided GUID, with a duplicate of the provided texture. | |