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");
        }