iconOnlyUssClassName
The USS class name for Button elements with an icon only, no text.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Field
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static readonly string iconOnlyUssClassName
Remarks
Unity adds this USS class to an instance of the Button element if the instance's Button.iconImage property contains a valid Texture and no text is set. Any styling applied to this class affects every button with an icon located beside, or below the stylesheet in the visual tree.