public static float CalcMaxWidth(this GUIStyle style, string text) { return(style.CalcMaxWidth(new GUIContent(text))); }