mirror of
https://github.com/cheney2013/UIState.git
synced 2025-02-27 20:41:32 +00:00
Update README.md
This commit is contained in:
parent
3a2fb6116e
commit
45583a1151
13
README.md
13
README.md
@ -10,20 +10,11 @@
|
|||||||
|
|
||||||
# 安装和使用
|
# 安装和使用
|
||||||
|
|
||||||
1. 将 extensions 目录下的 uistate-inspector 拷贝到你项目的 extensions 目录下
|
1. 将 assets\script\component 目录下的 UIState.ts 文件复制到你项目的任意位置
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
2. 点击 Creator 工具栏的 扩展->扩展管理器,点击已安装扩展,点击刷新扩展,就可以看到 uistate-inspector 扩展
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
3. 点击扩展右边的 toggle button,启用扩展
|
|
||||||
4. 将 assets\script\component 目录下的 UIState.ts 文件复制到你项目的任意位置
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
5. 为你需要记录UI状态的节点添加 UIState 组件
|
2. 为你需要记录UI状态的节点添加 UIState 组件
|
||||||
|
|
||||||
## 测试场景
|
## 测试场景
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user