Method ComputeFontStyle
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
ComputeFontStyle(bool, bool)
Folds a (bold, italic) pair into the single UnityEngine.FontStyle value that
-unity-font-style understands. This is the composition step that -unity-font-style
cannot do across two separate classes.
public static FontStyle ComputeFontStyle(bool bold, bool italic)
Parameters
boldboolitalicbool
Returns
- FontStyle