摘要:package.json { "name": "scene-tools", "version": "1.0.0", "description": "scene-tools", "author": "kingBook", "main": "main.js", "main-menu": { "Tools
阅读全文
摘要:var fs=require('fs'); //读取.meta //result.path 如:E:\projects\ccc_test\assets\arrow.plist let plistMetaPath=result.path+".meta" let plistMetaStrings=fs.
阅读全文
摘要:更多: https://forum.cocos.org/t/creator-api/92605 https://blog.csdn.net/qq_17209641/article/details/106822296 let nodeUuids=Editor.Selection.curSelectio
阅读全文
摘要:let uuid=Editor.Utils.UuidUtils.uuid(); let decompressUuid=Editor.Utils.UuidUtils.decompressUuid(uuid); Editor.log(uuid);//45p/Kon2hGs7gjNzbB8Xgg Edit
阅读全文
摘要:https://www.electronjs.org/docs/api/menu https://www.electronjs.org/docs/api/menu-item https://forum.cocos.org/t/topic/52153 https://forum.cocos.org/t
阅读全文
摘要:```js let animObject={ "__type__": "cc.AnimationClip", "_name": "", "_objFlags": 0, "_duration": 0, "sample": 60, "curveData": {}, "events": [] }; let data=JSON.stringify(animObject,null,"\t"); Editor
阅读全文
摘要:readFileSync()说明:http://nodejs.cn/api/fs.html fs_fs_readfilesync_path_options xml2js 文档:https://www.npmjs.com/package/xml2js
阅读全文
摘要:项目路径\packages\helloEditor\package.json name: 扩展包名,只能小写 Tools/Test: 自定的菜单 message: 扩展包名:函数名 详细说明:https://docs.cocos.com/creator/manual/zh/extension/you
阅读全文