VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
void AVR.UEditor.UI.AVR_FA_GlyphHelper_Editor.FromUnicode ( Font  UseFont)
inlineprivate

Definition at line 77 of file AVR_FA_GlyphHelper_Editor.cs.

77  {
78  if (GUILayout.Button("Search Glyphs", GUILayout.Height(30)))
79  {
80  Application.OpenURL("https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=brands,regular,solid&m=free");
81  }
82  using (new EditorGUILayout.HorizontalScope())
83  {
84  GUILayout.Label("Hex. Unicode:");
85  unicode_input = GUILayout.TextField(unicode_input);
86  if(GUILayout.Button("Set", GUILayout.Width(60))) {
87  ((AVR_FA_GlyphHelper)target).setup(UseFont, int.Parse(unicode_input, System.Globalization.NumberStyles.HexNumber));
88  }
89  }
90  }