UnlockGroup() public method

public UnlockGroup ( TreeGroup g ) : void
g TreeGroup
return void
 private void GUIunlockbox(TreeData treeData)
 {
     GUILayout.BeginVertical(EditorStyles.helpBox, new GUILayoutOption[0]);
     GUIContent gUIContent = TreeEditorHelper.GetGUIContent("This group has been edited by hand. Some parameters may not be available.|");
     gUIContent.image = styles.warningIcon.image;
     GUILayout.Label(gUIContent, EditorStyles.wordWrappedMiniLabel, new GUILayoutOption[0]);
     GUIStyle style = new GUIStyle("minibutton") {
         wordWrap = true
     };
     if (GUILayout.Button(TreeEditorHelper.GetGUIContent("Convert to procedural group. All hand editing will be lost!|"), style, new GUILayoutOption[0]))
     {
         treeData.UnlockGroup(s_SelectedGroup);
         this.m_WantCompleteUpdate = true;
     }
     GUILayout.EndVertical();
 }
		private void GUIunlockbox(TreeData treeData)
		{
			GUILayout.BeginVertical(EditorStyles.helpBox, new GUILayoutOption[0]);
			GUIContent gUIContent = TreeEditorHelper.GetGUIContent("TreeEditor.EditingTools.WarningLabel");
			gUIContent.image = TreeEditor.styles.warningIcon.image;
			GUILayout.Label(gUIContent, EditorStyles.wordWrappedMiniLabel, new GUILayoutOption[0]);
			GUIStyle gUIStyle = new GUIStyle("minibutton");
			gUIStyle.wordWrap = true;
			GUIContent gUIContent2 = TreeEditorHelper.GetGUIContent("TreeEditor.EditingTools.WarningButton");
			if (GUILayout.Button(gUIContent2, gUIStyle, new GUILayoutOption[0]))
			{
				treeData.UnlockGroup(TreeEditor.s_SelectedGroup);
				this.m_WantCompleteUpdate = true;
			}
			GUILayout.EndVertical();
		}