CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
Loading...
Searching...
No Matches

◆ GetIcon() [1/2]

static Texture2D GetIcon ( [NotNull] Object asset)
static

Returns the icon associated with the asset type.

Parameters
assetThe object for which to get the icon.
Returns
The object's icon texture or null. If the obj is a sub-asset then the main asset's icon is returned.
See also