class in UnityEditor
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseIcon slot container.
height | The height of the icon in pixels. |
kind | The PlatformIconKind is specific to the target platform. |
layerCount | The number of texture layers the icon slot currently contains. |
maxLayerCount | The maximum number of texture layers required by the icon slot. |
minLayerCount | The minimum number of texture layers required by the icon slot. |
width | The width of the icon in pixels. |
GetTexture | Retrieve the texture which is currently assigned to the specified layer. |
GetTextures | Retrieve an array of all textures which are currently assigned to the icon slot. |
SetTexture | Assign a texture to the specified layer. |
SetTextures | Assign all available icon layers. |