/** * This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). * It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) */ using UnityEditor; using UnityEditorInternal; using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Fungus { [CustomEditor (typeof(Label))] public class LabelEditor : CommandEditor { protected SerializedProperty keyProp; static public void LabelField(SerializedProperty property, GUIContent labelText, Block block) { List labelKeys = new List(); List