private static void ShowError(string error)
{
GUIContent content = new GUIContent(error) {
image = Contents.warningIcon
};
GUILayout.Space(5f);
GUILayout.BeginVertical(EditorStyles.helpBox, new GUILayoutOption[0]);
GUILayout.Label(content, EditorStyles.wordWrappedMiniLabel, new GUILayoutOption[0]);
GUILayout.EndVertical();
}