文档

Unity Engine

Unity Engine

OSDefault

Use the OS default font rendering mode. This mode is only available for dynamic fonts, as static fonts are generated at build time.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor
OSDefault = 3

Remarks

This selects either FontRenderingMode.HintedSmooth or FontRenderingMode.HintedRaster on Windows, and either FontRenderingMode.Smooth or FontRenderingMode.HintedRaster on macOS, depending on the system preferences.