FontIconSelector Class

Definition

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
Inheritance
UnityEngine.MonoBehaviour
FontIconSelector
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

Properties

CurrentIconName

The currently selected icon's name, as defined by the FontIcons.

FontIcons

The FontIconSet that contains the icons available for use, and their human-readable names.

IconFontAsset

A TextMeshPro Font Asset that contains the desired icons as glyphs that map to Unicode character values.

TextMeshProComponent

The Unity text component used to show the icon.

Applies to

Proizvod Verzije
MRTK3 UX Core 3.0, 3.1, 3.2