iconUssClassName
The USS class name for Button elements with an icon.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
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.