Icon Asset List
This component allows you to register icon images that can be used from Items.
Images registered in IconAssetList can be used from the script function. For more information, see the Script Reference.
![](inspector.png)
Properties
Properties | function |
---|---|
Icons | A list of icon images. You can specify how many icons are included in component. |
-Id | Specify a string to reference from a script. The ID can be up to 64 characters, and only alphanumeric characters and some symbols (apostrophe, comma, hyphen, period, and underscore) can be used. |
-Image | Specify the icon texture to use. |
Note
- Icon images are assumed to be transparent and square. Display results for icons that do not meet these conditions are not guaranteed.
- Icon images do not necessarily need to be high resolution because the display size is fixed. We recommend to use images with each side of 256px or less.