This commit is contained in:
zzz
2022-11-14 14:57:00 +08:00
parent 21f168eda7
commit ca744b7870
23 changed files with 68 additions and 67 deletions

10
.obsidian/app.json vendored
View File

@@ -1,3 +1,11 @@
{
"attachmentFolderPath": "FGui/图片"
"attachmentFolderPath": "FGui/图片",
"pdfExportSettings": {
"includeName": true,
"pageSize": "Letter",
"landscape": false,
"margin": "0",
"downscalePercent": 100
},
"promptDelete": false
}

View File

@@ -69,43 +69,7 @@
"state": {
"type": "release-notes",
"state": {
"file": "编辑器/SearchFilter UnityEditor筛选器.md",
"mode": "source",
"source": false
}
}
},
{
"id": "d1a18d7c71581b29",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "编辑器/SerializedObject.md",
"mode": "source",
"source": false
}
}
},
{
"id": "7e7e296e22babc71",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "OS/多级缓存队列.md",
"mode": "source",
"source": false
}
}
},
{
"id": "7c26718ad1c1bcd1",
"type": "leaf",
"state": {
"type": "kanban",
"state": {
"file": "待办事项/TODO.md"
"currentVersion": "1.0.0"
}
}
},
@@ -113,26 +77,12 @@
"id": "a01448c801fda431",
"type": "leaf",
"state": {
"type": "kanban",
"state": {
"file": "待办事项/TODO.md"
}
}
},
{
"id": "802567368bde2f52",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "FairyGui/工作流.md",
"mode": "source",
"source": false
}
"type": "empty",
"state": {}
}
}
],
"currentTab": 8
"currentTab": 5
}
],
"direction": "vertical"
@@ -190,7 +140,7 @@
"state": {
"type": "backlink",
"state": {
"file": "FairyGui/工作流.md",
"file": "FGui/FGui规范及常用模板.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@@ -216,17 +166,17 @@
"width": 300,
"collapsed": true
},
"active": "802567368bde2f52",
"active": "1a6234b1c364beb9",
"lastOpenFiles": [
"FGui/图片/Pasted image 20221114121030.png",
"FGui/图片/Pasted image 20221114121249.png",
"FGui/FGui规范及常用模板.md",
"未命名.md",
"待办事项/TODO.md",
"编辑器/图片/Pasted image 20221025121100.png",
"编辑器/SearchFilter UnityEditor筛选器.md",
"战斗/技能/SkillBase.md",
"OS/多级缓存队列.md",
"待办事项/SkillConfig.md",
"编辑器/SerializedObject.md",
"Mesh/Mesh Baker.md",
"Mesh/Mesh Renderer 与 Skinned Mesh Renderer.md",
"Mesh/图片/Pasted image 20221021171104.png",
"图集/TODO.md"
"编辑器/SearchFilter UnityEditor筛选器.md",
"Mesh Baker.md"
]
}

View File

@@ -1,9 +1,52 @@
# 理解概念
包=对应系统 组件=里边可复用的一些模板
# 规范
## 命名规范
1、组件 + ”_“ + 命名
例如:
1、组件 + ”_“ + 命名
例如:
![[Pasted image 20221114121704.png]]
一些比较复杂的组件就用Com作前缀,Com=Component
## 流程规范
## 流程规范
1、目录结构
一般来说每个系统一个包,左上角点击新建包,什么系统就命名什么就好
![[Pasted image 20221114122742.png]]
但是像较多地方都用到同一个资源比如说通用按钮那么这个按钮就要放在Common这个公用的包里面
如图中的背包的一个图标:
![[Pasted image 20221114123133.png]]
大图还是放Image这个包下
![[Pasted image 20221114141112.png]]
2、资源放置
对应的组件和图片放在同一个包里就好
![[Pasted image 20221114123441.png
3、上传资源
整个文件夹提交SVN
![[Pasted image 20221114141243.png]]
# 一些常用模板
## 页签:三个单选按钮 + 一个控制器完成
![[Pasted image 20221114142309.png]]
![[Pasted image 20221114142738.png]]
找到刚刚做好的控制器,每个按钮链接一个状态
![[Pasted image 20221114142906.png]]![[Pasted image 20221114143146.png]]
随意点击按钮可以切换效果
![[Pasted image 20221114143202.png]]
## 列表:
![[Pasted image 20221114144948.png]]
拖进素材
![[Pasted image 20221114145009.png]]
编辑数据,一般只是预览,发布时自动清空的选项要勾上
![[Pasted image 20221114145058.png]]![[Pasted image 20221114145138.png]]![[Pasted image 20221114145205.png]]
预览上下滑动
![[Pasted image 20221114145254.png]]

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB