跳到主要内容

find_scripts

获取指定目录下的所有脚本文件(.gs或者.o,打包文件的.o会被以.gs形式返回)

声明

array find_scripts(string path, bool recursively = false)

参数

参数名描述
path目录
recursively是否查找子目录(true: 查找, false: 不查找; 默认值: false)

返回值

脚本文件数组

使用方式

返回文档