FromFont(Font)
Create a FontDefinition from Font.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static FontDefinition FromFont(Font f)
Parameters
The font to use to display text.
Returns
Type | Description |
|---|---|
| FontDefinition | A new FontDefinition object. |