mirror of
https://github.com/potato47/ccc-devtools.git
synced 2025-02-27 20:41:40 +00:00
38 lines
1.0 KiB
Markdown
38 lines
1.0 KiB
Markdown
# ccc-devtools v1.0
|
||
Cocos Creator 网页调试器,运行时查看、修改节点树,实时更新节点属性。
|
||
|
||
## 功能
|
||
|
||
- [x] 拖拽布局
|
||
- [x] 节点搜索
|
||
- [x] 实时刷新节点信息
|
||
- [ ] 自定义布局等配置
|
||
- [ ] 组件信息
|
||
|
||
## 预览
|
||
|
||

|
||
|
||
## 使用
|
||
|
||
1. 点击 Creator 右上角进入编辑器 resources 目录,再依次进入`static/preview-templates`目录
|
||
|
||

|
||
|
||
2. 将本项目clone到上面的目录下
|
||
|
||

|
||
|
||
3. 打开`index.jade`,找到`body`里最后一个`div`,在下面添加`include ./ccc-devtools/index.html`,**注意用tab键与上面的div对齐**
|
||
|
||

|
||
|
||
|
||
## 已知问题
|
||
|
||
- 当有大量节点动态加载时,可能需要手动点击一下右上角的刷新按钮来重载节点树。
|
||
- 当升级 Cococs Creator 时会清空resources目录,需要重新下载配置,如自定义了一些配置,请做好备份。
|
||
|
||
## 需求、更新
|
||
|
||
https://github.com/potato47/ccc-devtools |