Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


iconUssClassName

The USS class name for Button elements with an icon.
Read time 1 minuteLast updated 10 days ago

Definition

public static readonly string iconUssClassName

Remarks

Unity adds this USS class to an instance of the Button element if the instance's Button.iconImage property contains a valid Texture. Any styling applied to this class affects every button with an icon located beside, or below the stylesheet in the visual tree.