<commit_before>#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;

namespace UMA.Editors
{
	public static class GUIHelper
	{

		private static Texture _helpIcon;

		private static GUIStyle _iconLabel;

		public static Texture helpIcon
		{
			get {
				if (_helpIcon != null)
					return _helpIcon;
				//Sometimes editor styles is not set up when we ask for this
				if (EditorStyles.label == null)
					return new Texture();
				_helpIcon = EditorGUIUtility.FindTexture("_Help");
				return _helpIcon;
			}
		}

		public static GUIStyle iconLabel
		{
			get
			{
				if (_iconLabel != null)
					return _iconLabel;
				if (EditorStyles.label == null)
					return new GUIStyle();
				_iconLabel = new GUIStyle(EditorStyles.label);<commit_msg>Fix error in GUIHelper in Unity 2018+<commit_after>#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;

namespace UMA.Editors
{
	public static class GUIHelper
	{

		private static Texture _helpIcon;

		private static GUIStyle _iconLabel;

		public static Texture helpIcon
		{
			get {
				if (_helpIcon != null)
					return _helpIcon;
				//Sometimes editor styles is not set up when we ask for this
				if (EditorStyles.label == null)
					return new Texture2D(16,16);
				_helpIcon = EditorGUIUtility.FindTexture("_Help");
				return _helpIcon;
			}
		}

		public static GUIStyle iconLabel
		{
			get
			{
				if (_iconLabel != null)
					return _iconLabel;
				if (EditorStyles.label == null)
					return new GUIStyle();
				_iconLabel = new GUIStyle(EditorStyles.label);
{'fraction_non_alphanumeric': 0.07747866053841103, 'fraction_numerical': 0.005909389363099146, 'mean_word_length': 3.245125348189415, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2372221', 'n_tokens_mistral': 601, 'n_tokens_neox': 478, 'n_words': 147}