VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
static void AVR.UEditor.Core.AVR_EditorUtility.FALabel ( string  unicode,
bool  isBrandIcon = false,
int  buttonSize = 25 
)
inlinestatic

Definition at line 56 of file _AVR_Core_EditorUtility.cs.

57  {
58  var style = new GUIStyle(GUI.skin.label);
59  style.font = isBrandIcon ? fab_cache : fa_cache;
60  style.fontSize = Mathf.Max(7, buttonSize - 12);
61  GUILayout.Label(Unicode_to_String(unicode), style, GUILayout.Width(buttonSize), GUILayout.Height(buttonSize));
62  }
static string Unicode_to_String(string unicode)