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

Definition at line 49 of file _AVR_Core_EditorUtility.cs.

49  {
50  var style = new GUIStyle(GUI.skin.button);
51  style.font = isBrandIcon ? fab_cache : fa_cache;
52  style.fontSize = Mathf.Max(7, buttonSize - 12);
53  return GUILayout.Button(Unicode_to_String(unicode), style, GUILayout.Width(buttonSize), GUILayout.Height(buttonSize));
54  }
static string Unicode_to_String(string unicode)