StyleFont
Style value that can be either a Font or a StyleKeyword.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Implements: IStyleValue<Font>, IEquatable<StyleFont>
public struct StyleFont : IStyleValue<Font>, IEquatable<StyleFont>
Constructors
Constructor | Description |
|---|---|
| StyleFont(UnityEngine.Font) | Creates from a Font or StyleKeyword. |
| StyleFont(UnityEngine.UIElements.StyleKeyword) | Creates from a Font or StyleKeyword. |