public static void setScriptRoot(string root) { if (consoleModel != null) { consoleModel.setScriptRoot(root); } if (editorModel != null) { editorModel.setScriptRoot(root); } }