// 如果不是项目会返回null(也就是文件或者字符串脚本), 这里会返回null _console.log(_script.getProjectRootPath() == null)