Browse Source

Select sequence when adding new Fungus Script

master
chrisgregan 10 years ago
parent
commit
230db13b76
  1. 1
      Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs

1
Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs

@ -36,6 +36,7 @@ namespace Fungus
newSequenceGO.hideFlags = HideFlags.HideInHierarchy;
Sequence sequence = newSequenceGO.AddComponent<Sequence>();
fungusScript.startSequence = sequence;
fungusScript.selectedSequence = sequence;
}
// Implementing this method causes the padlock image to display on the window

Loading…
Cancel
Save