From 230db13b765448c099503e9ddf54ad3da17d0569 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Wed, 17 Sep 2014 16:43:21 +0100 Subject: [PATCH] Select sequence when adding new Fungus Script --- Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs b/Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs index e4cd43d7..aed93219 100755 --- a/Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs +++ b/Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs @@ -36,6 +36,7 @@ namespace Fungus newSequenceGO.hideFlags = HideFlags.HideInHierarchy; Sequence sequence = newSequenceGO.AddComponent(); fungusScript.startSequence = sequence; + fungusScript.selectedSequence = sequence; } // Implementing this method causes the padlock image to display on the window