<commit_before>using UnityEditor;
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;

namespace Fungus
{

	[CustomEditor (typeof(Fungus.Menu))]
	public class MenuEditor : CommandEditor 
	{
		protected SerializedProperty textProp;
		protected SerializedProperty descriptionProp;
		protected SerializedProperty targetBlockProp;
		protected SerializedProperty hideIfVisitedProp;
		protected SerializedProperty setMenuDialogProp;

		protected virtual void OnEnable()
		{
			textProp = serializedObject.FindProperty("text");
			descriptionProp = serializedObject.FindProperty("description");
			targetBlockProp = serializedObject.FindProperty("targetBlock");
			hideIfVisitedProp = serializedObject.FindProperty("hideIfVisited");
			setMenuDialogProp = serializedObject.FindProperty("setMenuDialog");
		}
		
		public override void DrawCommandGUI()
		{
			Flowchart flowchart = FlowchartWindow.GetFlowchart();
			if (flowchart == null)
			{
				return;
			}
			
			serializedObject.Update();
			
			EditorGUILayout.PropertyField(textProp);

			EditorGUILayout.PropertyField(descriptionProp);
			
			BlockEditor.BlockField(targetBlockProp,
			                             new GUIContent("Target Block", "Block to call when option is selected"), 
			                             new GUIContent("<None>"), 
			                             flowchart);
			
			EditorGUILayout.PropertyField(hideIfVisitedProp);
			EditorGUILayout.PropertyField(setMenuDialogProp);

			serializedObject.ApplyModifiedProperties();
		}
	}
	
}<commit_msg>Updated MenuEditor to display intractable property<commit_after>using UnityEditor;
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;

namespace Fungus
{

	[CustomEditor (typeof(Fungus.Menu))]
	public class MenuEditor : CommandEditor 
	{
		protected SerializedProperty textProp;
		protected SerializedProperty descriptionProp;
		protected SerializedProperty targetBlockProp;
		protected SerializedProperty hideIfVisitedProp;
		protected SerializedProperty interactableProp;
		protected SerializedProperty setMenuDialogProp;

		protected virtual void OnEnable()
		{
			textProp = serializedObject.FindProperty("text");
			descriptionProp = serializedObject.FindProperty("description");
			targetBlockProp = serializedObject.FindProperty("targetBlock");
			hideIfVisitedProp = serializedObject.FindProperty("hideIfVisited");
			interactableProp = serializedObject.FindProperty("interactable");
			setMenuDialogProp = serializedObject.FindProperty("setMenuDialog");
		}
		
		public override void DrawCommandGUI()
		{
			Flowchart flowchart = FlowchartWindow.GetFlowchart();
			if (flowchart == null)
			{
				return;
			}
			
			serializedObject.Update();
			
			EditorGUILayout.PropertyField(textProp);

			EditorGUILayout.PropertyField(descriptionProp);
			
			BlockEditor.BlockField(targetBlockProp,
			                             new GUIContent("Target Block", "Block to call when option is selected"), 
			                             new GUIContent("<None>"), 
			                             flowchart);
			
			EditorGUILayout.PropertyField(hideIfVisitedProp);
			EditorGUILayout.PropertyField(interactableProp);
			EditorGUILayout.PropertyField(setMenuDialogProp);

			serializedObject.ApplyModifiedProperties();
		}
	}
	
}
{'fraction_non_alphanumeric': 0.07976011994002999, 'fraction_numerical': 0.0, 'mean_word_length': 4.108728943338438, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2640310', 'n_tokens_mistral': 1002, 'n_tokens_neox': 846, 'n_words': 167}