GC连点器的自定义脚本使用Lua语言,你需要一定的编程基础。
UI的API函数在
以下是功能API函数
GC连点器是C++编写的 所以函数的定义是以C++格式写出
**char*** //**这是字符串类型
bool //这是boolen类型
int //这是整数类型**
-- 这是一个注释
function Main()
while true do
-- 你的代码
end
end
-- 这是一个注释
function MainGui()
-- 千万不要加循环或者耗时长的代码在这里
-- 否则整个UI都会被阻塞而停止渲染
Text("114514") -- 显示一个文字
end
void PrintLog(char* msg, int type);