| [ Web Proxy ] |
| Viewing: https://docs.unity3d.com/ScriptReference/PlatformIcon.html | [Back] [Original] |
Icon slot container.
| Property | Description |
|---|---|
| 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. |
| Method | Description |
|---|---|
| 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. |
| Web Proxy Viewer | New URL | Original Page |