Merge branch 'v2.x' of github.com:ckcz123/mota-js into v2.x
This commit is contained in:
commit
1e5b7b443d
@ -561,7 +561,8 @@ core.registerSystemEvent("custom", function (data, callback) {
|
|||||||
// 这里的`data`为碰触到的图块信息。
|
// 这里的`data`为碰触到的图块信息。
|
||||||
console.log(data);
|
console.log(data);
|
||||||
// 插入一个公共事件(如“图块触碰”),把图块坐标作为公共事件参数传入。
|
// 插入一个公共事件(如“图块触碰”),把图块坐标作为公共事件参数传入。
|
||||||
core.insertCommonEvent("图块触碰", /*args*/ [data.x, data.y], data.x, data.y, callback);
|
core.insertCommonEvent("图块触碰", /*args*/ [data.x, data.y], data.x, data.y);
|
||||||
|
if (callback) callback();
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
BIN
常用工具/便捷PS工具.exe
BIN
常用工具/便捷PS工具.exe
Binary file not shown.
Loading…
Reference in New Issue
Block a user