Browse Source

Switching dialogs on click causes text to skip #73

Changing format of commit messages for simplicity
master
chrisgregan 10 years ago
parent
commit
ab1885dcbb
  1. 3
      Assets/Fungus/FungusScript/Editor/FungusScriptMenuItems.cs

3
Assets/Fungus/FungusScript/Editor/FungusScriptMenuItems.cs

@ -17,6 +17,9 @@ namespace Fungus
Sequence sequence = Undo.AddComponent<Sequence>(newFungusScriptGO); Sequence sequence = Undo.AddComponent<Sequence>(newFungusScriptGO);
sequence.nodeRect.x += 60; sequence.nodeRect.x += 60;
sequence.nodeRect.y += 60; sequence.nodeRect.y += 60;
GameStarted gameStarted = Undo.AddComponent<GameStarted>(newFungusScriptGO);
gameStarted.parentSequence = sequence;
sequence.eventHandler = gameStarted;
fungusScript.selectedSequence = sequence; fungusScript.selectedSequence = sequence;
fungusScript.scrollPos = Vector2.zero; fungusScript.scrollPos = Vector2.zero;
Undo.RegisterCreatedObjectUndo(newFungusScriptGO, "Create Fungus Script"); Undo.RegisterCreatedObjectUndo(newFungusScriptGO, "Create Fungus Script");

Loading…
Cancel
Save