<commit_before>#if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;

namespace Fungus
{
	
	public class CommandInfoAttribute : Attribute
	{
		public CommandInfoAttribute(string category, string commandName, string helpText)
		{
			this.Category = category;
			this.CommandName = commandName;
			this.HelpText = helpText;
		}

		public string Category { get; set; }
		public string CommandName { get; set; }
		public string HelpText { get; set; }
	}
	
	[RequireComponent(typeof(Sequence))]
	public class Command : MonoBehaviour
	{
		public string errorMessage = "";

		public int indentLevel;

		public Sequence GetSequence()
		{
			return gameObject.GetComponent<Sequence>();
		}

		public FungusScript GetFungusScript()
		{
			Sequence s = GetSequence();
			if (s == null)
			{
				return null;
			}

			return s.GetFungusScript();
		}<commit_msg>Hide command internal properties in inspector<commit_after>#if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;

namespace Fungus
{
	
	public class CommandInfoAttribute : Attribute
	{
		public CommandInfoAttribute(string category, string commandName, string helpText)
		{
			this.Category = category;
			this.CommandName = commandName;
			this.HelpText = helpText;
		}

		public string Category { get; set; }
		public string CommandName { get; set; }
		public string HelpText { get; set; }
	}
	
	[RequireComponent(typeof(Sequence))]
	public class Command : MonoBehaviour
	{
		[HideInInspector]
		public string errorMessage = "";

		[HideInInspector]
		public int indentLevel;

		public Sequence GetSequence()
		{
			return gameObject.GetComponent<Sequence>();
		}

		public FungusScript GetFungusScript()
		{
			Sequence s = GetSequence();
			if (s == null)
			{
				return null;
			}

			return s.GetFungusScript();
		}
{'fraction_non_alphanumeric': 0.09100310237849017, 'fraction_numerical': 0.0, 'mean_word_length': 4.06544502617801, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5554033', 'n_tokens_mistral': 667, 'n_tokens_neox': 570, 'n_words': 159}