<commit_before>﻿#if UNITY_EDITOR
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using HierarchyHelper;

public class GameObjectControlling
{
	[HelperInfoAttribute( "GameObject Controlling", 100 )]
	public static void DrawHelper( GameObject obj )
	{
		Rect rect = HierarchyHelperManager.GetControlRect( 10f );
		obj.SetActive( GUI.Toggle( rect, obj.activeSelf, string.Empty ) );
	}
}
#endif<commit_msg>modify: 1. fix renaming hierarchy item lose focus issue<commit_after>﻿#if UNITY_EDITOR
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using HierarchyHelper;

public class GameObjectControlling
{
	[HelperInfoAttribute( "GameObject Controlling", 100 )]
	public static void DrawHelper( GameObject obj )
	{
		Rect rect = HierarchyHelperManager.GetControlRect( 10f );
		bool active = GUI.Toggle( rect, obj.activeSelf, string.Empty );
		if( GUI.changed )
			obj.SetActive( active );
	}
}
#endif
{'fraction_non_alphanumeric': 0.09548793284365163, 'fraction_numerical': 0.011542497376705142, 'mean_word_length': 5.76595744680851, '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': '1461739', 'n_tokens_mistral': 306, 'n_tokens_neox': 286, 'n_words': 78}