◆ SetCashedIconForGUID()

static void SetCashedIconForGUID ( string  guid,
Texture2D  iconToCache 
)
static
Parameters
guidunique ID for project view item to be assigned a texture
iconToCachetexture to be cached for this GUID. The texture instance is duplicated so any subsequent changes to the passed in texture will not affect the cached icon.

Referenced by EditorWithPreview< Mesh >.ProjectItemOnGUI().

+ Here is the caller graph for this function: