Description
The Icon
property of the Editor.AssetBrowserLocation
class represents the icon associated with a specific asset location within the asset browser. This property is a string that typically contains the path or identifier of the icon image used to visually represent the asset location in the user interface.
Usage
To use the Icon
property, you can access it directly from an instance of the AssetBrowserLocation
class. This property is read-only and provides the icon path or identifier for the asset location.
Example usage:
var assetLocation = new AssetBrowserLocation();
string iconPath = assetLocation.Icon;
// Use iconPath to display the icon in the UI
Example
var assetLocation = new AssetBrowserLocation();
string iconPath = assetLocation.Icon;
// Use iconPath to display the icon in the UI