RegenerateScriptHeader() public method

public RegenerateScriptHeader ( Room currentRoom ) : void
currentRoom Room
return void
Beispiel #1
0
 protected override void OnWindowActivated()
 {
     _agsEditor.RegenerateScriptHeader(_room);
     if (_editorTextModifiedSinceLastCopy)
     {
         UpdateScriptObjectWithLatestTextInWindow();
     }
     AutoComplete.RequestBackgroundCacheUpdate(_script);
     ActivateTextEditor();
 }
Beispiel #2
0
        protected override void OnWindowActivated()
        {
            _agsEditor.RegenerateScriptHeader(_room);
            if (_editorTextModifiedSinceLastCopy)
            {
                UpdateScriptObjectWithLatestTextInWindow();
            }
            AutoComplete.RequestBackgroundCacheUpdate(_script);
            ActivateTextEditor();

            Factory.GUIController.ShowCuppit("You've opened a script editor. This is where you set up how the game will react to various events like the player clicking on things. Read the Scripting Tutorial in the manual to get started.", "Script editor introduction");
        }