FontIconSelector Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows the user to select a specific icon for display via a Unity text component.
C#
[UnityEngine.AddComponentMenu("MRTK/UX/Font Icon Selector")]
public class FontIconSelector : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("MRTK/UX/Font Icon Selector")>]
type FontIconSelector = class
inherit MonoBehaviour
Public Class FontIconSelector
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourFontIconSelector
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Current |
The currently selected icon's name, as defined by the FontIcons. |
Font |
The FontIconSet that contains the icons available for use, and their human-readable names. |
Icon |
A TextMeshPro Font Asset that contains the desired icons as glyphs that map to Unicode character values. |
Text |
The Unity text component used to show the icon. |
Proizvod | Verzije |
---|---|
MRTK3 UX Core | 3.0, 3.1, 3.2 |