更新readme文档

This commit is contained in:
gongxh 2025-04-24 18:49:34 +08:00
parent 43eac55d18
commit 7cd4024838
13 changed files with 8 additions and 9 deletions

View File

@ -29,6 +29,7 @@ npm install kunpocc
15. [时间](./docs/Time.md) 15. [时间](./docs/Time.md)
16. [socket网络模块](./docs/Socket.md) 16. [socket网络模块](./docs/Socket.md)
17. [小游戏接口封装](./docs/MiniGame.md) 17. [小游戏接口封装](./docs/MiniGame.md)
18. [热更新](./docs/HotUpdate.md)
## 类型支持 ## 类型支持
该库完全使用 TypeScript 编写,提供完整的类型定义文件。 该库完全使用 TypeScript 编写,提供完整的类型定义文件。

View File

@ -23,6 +23,6 @@
3. 创建入口节点`GameEntry`创建UI模块节点 `UI` 、UI容器节点`window` 并关联对应的脚本 3. 创建入口节点`GameEntry`创建UI模块节点 `UI` 、UI容器节点`window` 并关联对应的脚本
![image-20250213102309047](https://gitee.com/gongxinhai/public-image/raw/master/image-20250213102309047.png) ![image-basic-config](./../image/image-basic-config.png#pic_left)
4. 配置完毕 4. 配置完毕

View File

@ -16,7 +16,7 @@
#### *creator插件`kunpo-ec`* #### *creator插件`kunpo-ec`*
> `kunpo-cc`可以方便创建、配置、导出实体,操作界面如下图: > `kunpo-cc`可以方便创建、配置、导出实体,操作界面如下图:
![image-20250213111622050](https://gitee.com/gongxinhai/public-image/raw/master/image-20250213111622050.png) ![image-entity-editor](./../image/image-entity-editor.png#pic_left)
#### *使用* #### *使用*

View File

@ -8,7 +8,7 @@
* cdn上资源结构 * cdn上资源结构
![image_hotupdate1](https://gitee.com/gongxinhai/public-image/raw/master/image_hotupdate1.jpeg#pic_left) ![image_hotupdate1](./../image/image_hotupdate1.jpeg#pic_left)
### 规则 ### 规则

View File

@ -41,8 +41,7 @@
5. 创建一个scene 5. 创建一个scene
6. 在新创建的scene中创建入口节点`GameEntry`创建UI模块节点 `UI` 、窗口容器节点`window` 窗口容器节点可以有多个, 并关联第4步写的入口脚本 6. 在新创建的scene中创建入口节点`GameEntry`创建UI模块节点 `UI` 、窗口容器节点`window` 窗口容器节点可以有多个, 并关联第4步写的入口脚本
![image-basic-config](./../image/image-basic-config.png#pic_left)
![image-20250213102309047](https://gitee.com/gongxinhai/public-image/raw/master/image-20250213102309047.png)
7. 项目配置完毕,点击运行,此时控制台就能输出 7. 项目配置完毕,点击运行,此时控制台就能输出
@ -59,8 +58,7 @@
1. 使用fgui创建一个包包下新建一个组件放置一些内容进去 比如包名是`Home`, 组件名是`HomeWindow` 注意:**组件需要设置为导出** 1. 使用fgui创建一个包包下新建一个组件放置一些内容进去 比如包名是`Home`, 组件名是`HomeWindow` 注意:**组件需要设置为导出**
2. 导出fgui到creator项目的 `resources`目录下一个ui文件夹下 2. 导出fgui到creator项目的 `resources`目录下一个ui文件夹下
![fgui-export](./../image/fgui-export.png#pic_left)
![image-20250409095820931](https://gitee.com/gongxinhai/public-image/raw/master/fgui-export.png)
3. 写 `HomeWindow`窗口脚本 3. 写 `HomeWindow`窗口脚本

View File

@ -20,13 +20,13 @@
### 使用 ### 使用
#### *一、FairyGUI界面* #### *一、FairyGUI界面*
> ![image-20250213105921142](https://gitee.com/gongxinhai/public-image/raw/master/image-20250213105921142.png) > ![image-fgui-project](./../image/image-fgui-project.png#pic_left)
#### *二、UI 装饰器使用* #### *二、UI 装饰器使用*
> 注:只有使用了装饰器的内容才能在 `kunpo-fgui` 插件中识别,`kunpo-fgui`插件操作界面如下图 > 注:只有使用了装饰器的内容才能在 `kunpo-fgui` 插件中识别,`kunpo-fgui`插件操作界面如下图
> ![image-20250213110353385](https://gitee.com/gongxinhai/public-image/raw/master/image-20250213110353385.png) > ![image-fgui-editor](./../image/image-fgui-editor.png#pic_left)
1. 窗口装饰器 1. 窗口装饰器

BIN
image/excel-json.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
image/fgui-export.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

BIN
image/image-fgui-editor.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 KiB

BIN
image/image_hotupdate1.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB