Getting Started꞉ Item Labels and Icons - aestheticinteractive/Hover-UI-Kit GitHub Wiki
On this page, you'll learn how to customize the default item renderer's labels and icons by changing its colors and materials.
Instructions
:camera: Modifying the default item renderer's labels and icons
- Complete the Scene Setup step.
- Add an item to your scene. See the Checkbox Item or Slider Item instructions for assistance.
- Find the
Text
component of the renderer's Label object.- Set "Font Size" to control the size of the text. This can also affect the size of the icon.
- Set "Color" to control the color of the text.
- Find the
RawImage
component of the renderer's IconOuter or IconInner objects.- Set "Color" to control the color of the icon.
- Set the "Material" to change the icon graphic. For the default item renderer, the material's texture must follow the conventions of the
StandardIconsTexture
texture.
Related Assets
This tutorial uses the GettingStarted-Customize-ItemCanvas
scene, from the "HoverDemos" folder. In the animation, the ScanlineIconsMaterial
uses the ScanlineIconsTexture
texture.