From 74312e7294d61215807a9e73e0418872b19ce4e3 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Mon, 18 Aug 2014 17:43:26 +0100 Subject: [PATCH] Fixed step time field --- Assets/Fungus/Editor/FungusScript/FungusScriptEditor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Fungus/Editor/FungusScript/FungusScriptEditor.cs b/Assets/Fungus/Editor/FungusScript/FungusScriptEditor.cs index 61ff755d..113677bc 100644 --- a/Assets/Fungus/Editor/FungusScript/FungusScriptEditor.cs +++ b/Assets/Fungus/Editor/FungusScript/FungusScriptEditor.cs @@ -39,10 +39,10 @@ namespace Fungus.Script t.transform.hideFlags = (components.Length == 2) ? HideFlags.HideInInspector : HideFlags.None; } - float stepTime = EditorGUILayout.FloatField(new GUIContent("Step Time", "Minimum time to execute each step"), t.stepTime); - EditorGUI.BeginChangeCheck(); + float stepTime = EditorGUILayout.FloatField(new GUIContent("Step Time", "Minimum time to execute each step"), t.stepTime); + Sequence startSequence = SequenceEditor.SequenceField(new GUIContent("Start Sequence", "Sequence to be executed when controller starts."), new GUIContent(""), t,