RequestBackgroundCacheUpdate() public static method

public static RequestBackgroundCacheUpdate ( Script scriptToUpdate ) : void
scriptToUpdate Script
return void
示例#1
0
文件: ScriptEditor.cs 项目: mo-g/ags
 protected override void OnWindowActivated()
 {
     _agsEditor.RegenerateScriptHeader(_room);
     if (_editorTextModifiedSinceLastCopy)
     {
         UpdateScriptObjectWithLatestTextInWindow();
     }
     AutoComplete.RequestBackgroundCacheUpdate(_script);
     ActivateTextEditor();
 }
示例#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");
        }