From 8597df67e5363a76813c9efc987e76a7a4d0af7b Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Fri, 1 Aug 2014 09:41:49 +0100 Subject: [PATCH] Increased height of Say text area --- Assets/Fungus/Editor/SayCommandEditor.cs | 2 +- Assets/Fungus/VisualScripting/Sequence.cs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Assets/Fungus/Editor/SayCommandEditor.cs b/Assets/Fungus/Editor/SayCommandEditor.cs index f090beb7..b2c20e34 100644 --- a/Assets/Fungus/Editor/SayCommandEditor.cs +++ b/Assets/Fungus/Editor/SayCommandEditor.cs @@ -16,7 +16,7 @@ namespace Fungus EditorGUILayout.PrefixLabel(new GUIContent("Say Text", "Text to display in dialog")); EditorStyles.textField.wordWrap = true; - string text = EditorGUILayout.TextArea(t.text); + string text = EditorGUILayout.TextArea(t.text, GUILayout.MinHeight(50)); if (text != t.text) { Undo.RecordObject(t, "Set Text"); diff --git a/Assets/Fungus/VisualScripting/Sequence.cs b/Assets/Fungus/VisualScripting/Sequence.cs index 69466d5c..fbdeea77 100644 --- a/Assets/Fungus/VisualScripting/Sequence.cs +++ b/Assets/Fungus/VisualScripting/Sequence.cs @@ -11,8 +11,6 @@ namespace Fungus public class Sequence : MonoBehaviour { - public string titleText; - [HideInInspector] public Rect nodeRect = new Rect(10, 10, 100, 100);