@ccgf/game-template 0.2.10 → 0.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -89,8 +89,8 @@
89
89
  "_prefab": null,
90
90
  "_lpos": {
91
91
  "__type__": "cc.Vec3",
92
- "x": 640,
93
- "y": 360.00000000000006,
92
+ "x": 960,
93
+ "y": 540,
94
94
  "z": 0
95
95
  },
96
96
  "_lrot": {
@@ -175,7 +175,7 @@
175
175
  "_priority": 0,
176
176
  "_fov": 45,
177
177
  "_fovAxis": 0,
178
- "_orthoHeight": 430.0487804878049,
178
+ "_orthoHeight": 645.0731707317074,
179
179
  "_near": 0,
180
180
  "_far": 2000,
181
181
  "_color": {
@@ -277,8 +277,8 @@
277
277
  "__prefab": null,
278
278
  "_contentSize": {
279
279
  "__type__": "cc.Size",
280
- "width": 1280,
281
- "height": 720
280
+ "width": 1920,
281
+ "height": 1080
282
282
  },
283
283
  "_anchorPoint": {
284
284
  "__type__": "cc.Vec2",
@@ -1,28 +1,47 @@
1
- import { _decorator, Component, Node } from 'cc';
2
- import { GameIns } from '@ccgf/framework';
3
- import { Gm } from '@ccgf/framework';
4
- import { DEBUG } from 'cc/env';
5
- import '@ccgf/red-dot';
6
- const { ccclass, property } = _decorator;
7
-
8
- @ccclass('AppStart')
9
- export class AppStart extends Component {
10
-
11
- @property({ displayName: "是否启用GM" })
12
- public enableGm = false;
13
-
14
- protected onLoad(): void {
15
- GameIns.init(this.node);
16
-
17
- Gm.setEnabled(this.enableGm && DEBUG);
18
- Gm.open();
19
- }
20
-
21
- start() { }
22
-
23
- update(deltaTime: number) {
24
- GameIns.update(deltaTime);
25
- }
26
- }
27
-
28
-
1
+ /**
2
+ * ⚠️ 这是**模板专属**的 AppStart,不是 dev 工程那份的副本 —— 两者**故意不一样**:
3
+ *
4
+ * dev 工程 :import '../scripts/shared/red-dot'; (工作区形态 ✓ 开发红点用 ✓)
5
+ * 模板工程 :**不 import red-dot** ✓✓
6
+ *
7
+ * 为什么模板不能引它:@ccgf/red-dot 是**公共模块页按需安装**的 ✓,模板的 dependencies
8
+ * 里没有它 ✗ —— 引了的话新工程一打开就是:
9
+ *
10
+ * 以 .../assets/scripts/AppStart.ts 为起点找不到模块 "@ccgf/red-dot"
11
+ * Missing class: ... (AppStart 上的脚本全丢)
12
+ *
13
+ * (实测踩过:dev 那份被改写成包名后带进模板,导致每个新工程都打不开 ✓)
14
+ *
15
+ * 另外两点:
16
+ * - `tools/template-files/**` 的文件是**原样拷贝**的 ✓,不参与 import 改写 ✗
17
+ * -> 所以这里必须直接写成**包名**(@ccgf/framework)✓;
18
+ * - **不要**在这里放 AppStart.ts.meta:模板构建先拷 dev 工程(含它的 meta ✓),
19
+ * 再用本文件覆盖 .ts ✓ —— 这样场景里 AppStart 的 **UUID 保持不变** ✓✓
20
+ * (自己带一份 meta 会让 UUID 变,场景上的组件会变成 missing ✗)。
21
+ */
22
+
23
+ import { _decorator, Component, Node } from 'cc';
24
+ import { GameIns } from '@ccgf/framework';
25
+ import { Gm } from '@ccgf/framework';
26
+ import { DEBUG } from 'cc/env';
27
+ const { ccclass, property } = _decorator;
28
+
29
+ @ccclass('AppStart')
30
+ export class AppStart extends Component {
31
+
32
+ @property({ displayName: "是否启用GM" })
33
+ public enableGm = false;
34
+
35
+ protected onLoad(): void {
36
+ GameIns.init(this.node);
37
+
38
+ Gm.setEnabled(this.enableGm && DEBUG);
39
+ Gm.open();
40
+ }
41
+
42
+ start() { }
43
+
44
+ update(deltaTime: number) {
45
+ GameIns.update(deltaTime);
46
+ }
47
+ }
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "@ccgf/framework": "^0.1.8",
9
9
  "ccgf-game-tool": "^1.0.19"
10
10
  },
11
- "version": "0.2.10",
11
+ "version": "0.2.12",
12
12
  "publishConfig": {
13
13
  "access": "public"
14
14
  },
@@ -1,310 +0,0 @@
1
- [
2
- {
3
- "__type__": "cc.Prefab",
4
- "_name": "default",
5
- "_objFlags": 0,
6
- "__editorExtras__": {},
7
- "_native": "",
8
- "data": {
9
- "__id__": 1
10
- },
11
- "optimizationPolicy": 0,
12
- "persistent": false
13
- },
14
- {
15
- "__type__": "cc.Node",
16
- "_name": "default",
17
- "_objFlags": 0,
18
- "__editorExtras__": {},
19
- "_parent": null,
20
- "_children": [
21
- {
22
- "__id__": 2
23
- }
24
- ],
25
- "_active": true,
26
- "_components": [
27
- {
28
- "__id__": 8
29
- },
30
- {
31
- "__id__": 10
32
- }
33
- ],
34
- "_prefab": {
35
- "__id__": 12
36
- },
37
- "_lpos": {
38
- "__type__": "cc.Vec3",
39
- "x": 0,
40
- "y": 0,
41
- "z": 0
42
- },
43
- "_lrot": {
44
- "__type__": "cc.Quat",
45
- "x": 0,
46
- "y": 0,
47
- "z": 0,
48
- "w": 1
49
- },
50
- "_lscale": {
51
- "__type__": "cc.Vec3",
52
- "x": 1,
53
- "y": 1,
54
- "z": 1
55
- },
56
- "_mobility": 0,
57
- "_layer": 1073741824,
58
- "_euler": {
59
- "__type__": "cc.Vec3",
60
- "x": 0,
61
- "y": 0,
62
- "z": 0
63
- },
64
- "_id": ""
65
- },
66
- {
67
- "__type__": "cc.Node",
68
- "_name": "Count",
69
- "_objFlags": 0,
70
- "__editorExtras__": {},
71
- "_parent": {
72
- "__id__": 1
73
- },
74
- "_children": [],
75
- "_active": true,
76
- "_components": [
77
- {
78
- "__id__": 3
79
- },
80
- {
81
- "__id__": 5
82
- }
83
- ],
84
- "_prefab": {
85
- "__id__": 7
86
- },
87
- "_lpos": {
88
- "__type__": "cc.Vec3",
89
- "x": 0,
90
- "y": 0,
91
- "z": 0
92
- },
93
- "_lrot": {
94
- "__type__": "cc.Quat",
95
- "x": 0,
96
- "y": 0,
97
- "z": 0,
98
- "w": 1
99
- },
100
- "_lscale": {
101
- "__type__": "cc.Vec3",
102
- "x": 1,
103
- "y": 1,
104
- "z": 1
105
- },
106
- "_mobility": 0,
107
- "_layer": 1073741824,
108
- "_euler": {
109
- "__type__": "cc.Vec3",
110
- "x": 0,
111
- "y": 0,
112
- "z": 0
113
- },
114
- "_id": ""
115
- },
116
- {
117
- "__type__": "cc.UITransform",
118
- "_name": "",
119
- "_objFlags": 0,
120
- "__editorExtras__": {},
121
- "node": {
122
- "__id__": 2
123
- },
124
- "_enabled": true,
125
- "__prefab": {
126
- "__id__": 4
127
- },
128
- "_contentSize": {
129
- "__type__": "cc.Size",
130
- "width": 0,
131
- "height": 20.16
132
- },
133
- "_anchorPoint": {
134
- "__type__": "cc.Vec2",
135
- "x": 0.5,
136
- "y": 0.5
137
- },
138
- "_id": ""
139
- },
140
- {
141
- "__type__": "cc.CompPrefabInfo",
142
- "fileId": "139aYMASX2zNEFow9cYvBw"
143
- },
144
- {
145
- "__type__": "cc.Label",
146
- "_name": "",
147
- "_objFlags": 0,
148
- "__editorExtras__": {},
149
- "node": {
150
- "__id__": 2
151
- },
152
- "_enabled": true,
153
- "__prefab": {
154
- "__id__": 6
155
- },
156
- "_customMaterial": null,
157
- "_srcBlendFactor": 2,
158
- "_dstBlendFactor": 4,
159
- "_color": {
160
- "__type__": "cc.Color",
161
- "r": 255,
162
- "g": 255,
163
- "b": 255,
164
- "a": 255
165
- },
166
- "_string": "",
167
- "_horizontalAlign": 1,
168
- "_verticalAlign": 1,
169
- "_actualFontSize": 16,
170
- "_fontSize": 16,
171
- "_fontFamily": "Arial",
172
- "_lineHeight": 16,
173
- "_overflow": 0,
174
- "_enableWrapText": true,
175
- "_font": null,
176
- "_isSystemFontUsed": true,
177
- "_spacingX": 0,
178
- "_isItalic": false,
179
- "_isBold": false,
180
- "_isUnderline": false,
181
- "_underlineHeight": 2,
182
- "_cacheMode": 0,
183
- "_enableOutline": false,
184
- "_outlineColor": {
185
- "__type__": "cc.Color",
186
- "r": 0,
187
- "g": 0,
188
- "b": 0,
189
- "a": 255
190
- },
191
- "_outlineWidth": 2,
192
- "_enableShadow": false,
193
- "_shadowColor": {
194
- "__type__": "cc.Color",
195
- "r": 0,
196
- "g": 0,
197
- "b": 0,
198
- "a": 255
199
- },
200
- "_shadowOffset": {
201
- "__type__": "cc.Vec2",
202
- "x": 2,
203
- "y": 2
204
- },
205
- "_shadowBlur": 2,
206
- "_id": ""
207
- },
208
- {
209
- "__type__": "cc.CompPrefabInfo",
210
- "fileId": "Y5D2FdcX/b4ttp854ZsgHw"
211
- },
212
- {
213
- "__type__": "cc.PrefabInfo",
214
- "root": {
215
- "__id__": 1
216
- },
217
- "asset": {
218
- "__id__": 0
219
- },
220
- "fileId": "HJvtMdi9q9UiLc+8gHON1A",
221
- "instance": null,
222
- "targetOverrides": null,
223
- "nestedPrefabInstanceRoots": null
224
- },
225
- {
226
- "__type__": "cc.UITransform",
227
- "_name": "",
228
- "_objFlags": 0,
229
- "__editorExtras__": {},
230
- "node": {
231
- "__id__": 1
232
- },
233
- "_enabled": true,
234
- "__prefab": {
235
- "__id__": 9
236
- },
237
- "_contentSize": {
238
- "__type__": "cc.Size",
239
- "width": 30,
240
- "height": 30
241
- },
242
- "_anchorPoint": {
243
- "__type__": "cc.Vec2",
244
- "x": 0.5,
245
- "y": 0.5
246
- },
247
- "_id": ""
248
- },
249
- {
250
- "__type__": "cc.CompPrefabInfo",
251
- "fileId": "HeIpbc/GWnveZl4aOM/RuQ"
252
- },
253
- {
254
- "__type__": "cc.Sprite",
255
- "_name": "",
256
- "_objFlags": 0,
257
- "__editorExtras__": {},
258
- "node": {
259
- "__id__": 1
260
- },
261
- "_enabled": true,
262
- "__prefab": {
263
- "__id__": 11
264
- },
265
- "_customMaterial": null,
266
- "_srcBlendFactor": 2,
267
- "_dstBlendFactor": 4,
268
- "_color": {
269
- "__type__": "cc.Color",
270
- "r": 255,
271
- "g": 0,
272
- "b": 0,
273
- "a": 255
274
- },
275
- "_spriteFrame": {
276
- "__uuid__": "f12a23c4-b924-4322-a260-3d982428f1e8@f9941",
277
- "__expectedType__": "cc.SpriteFrame"
278
- },
279
- "_type": 0,
280
- "_fillType": 0,
281
- "_sizeMode": 0,
282
- "_fillCenter": {
283
- "__type__": "cc.Vec2",
284
- "x": 0,
285
- "y": 0
286
- },
287
- "_fillStart": 0,
288
- "_fillRange": 0,
289
- "_isTrimmedMode": true,
290
- "_useGrayscale": false,
291
- "_atlas": null,
292
- "_id": ""
293
- },
294
- {
295
- "__type__": "cc.CompPrefabInfo",
296
- "fileId": "3rPUMqjsJuspJMw7V+fsqA"
297
- },
298
- {
299
- "__type__": "cc.PrefabInfo",
300
- "root": {
301
- "__id__": 1
302
- },
303
- "asset": {
304
- "__id__": 0
305
- },
306
- "fileId": "UmedAFwBAxeLR0ya5QCtxw",
307
- "instance": null,
308
- "targetOverrides": null
309
- }
310
- ]
@@ -1,13 +0,0 @@
1
- {
2
- "ver": "1.1.50",
3
- "importer": "prefab",
4
- "imported": true,
5
- "uuid": "01910097-e690-4231-af58-75150ce63eea",
6
- "files": [
7
- ".json"
8
- ],
9
- "subMetas": {},
10
- "userData": {
11
- "syncNodeName": "default"
12
- }
13
- }
@@ -1,9 +0,0 @@
1
- {
2
- "ver": "1.2.0",
3
- "importer": "directory",
4
- "imported": true,
5
- "uuid": "a2bf6b4f-2fa9-4ddc-96cb-ac733b552dff",
6
- "files": [],
7
- "subMetas": {},
8
- "userData": {}
9
- }
@@ -1,168 +0,0 @@
1
- [
2
- {
3
- "__type__": "cc.Prefab",
4
- "_name": "GameView",
5
- "_objFlags": 0,
6
- "__editorExtras__": {},
7
- "_native": "",
8
- "data": {
9
- "__id__": 1
10
- },
11
- "optimizationPolicy": 0,
12
- "persistent": false
13
- },
14
- {
15
- "__type__": "cc.Node",
16
- "_name": "GameView",
17
- "_objFlags": 0,
18
- "__editorExtras__": {},
19
- "_parent": null,
20
- "_children": [],
21
- "_active": true,
22
- "_components": [
23
- {
24
- "__id__": 2
25
- },
26
- {
27
- "__id__": 4
28
- },
29
- {
30
- "__id__": 6
31
- }
32
- ],
33
- "_prefab": {
34
- "__id__": 8
35
- },
36
- "_lpos": {
37
- "__type__": "cc.Vec3",
38
- "x": 0,
39
- "y": 0,
40
- "z": 0
41
- },
42
- "_lrot": {
43
- "__type__": "cc.Quat",
44
- "x": 0,
45
- "y": 0,
46
- "z": 0,
47
- "w": 1
48
- },
49
- "_lscale": {
50
- "__type__": "cc.Vec3",
51
- "x": 1,
52
- "y": 1,
53
- "z": 1
54
- },
55
- "_mobility": 0,
56
- "_layer": 1073741824,
57
- "_euler": {
58
- "__type__": "cc.Vec3",
59
- "x": 0,
60
- "y": 0,
61
- "z": 0
62
- },
63
- "_id": ""
64
- },
65
- {
66
- "__type__": "cc.UITransform",
67
- "_name": "",
68
- "_objFlags": 0,
69
- "__editorExtras__": {},
70
- "node": {
71
- "__id__": 1
72
- },
73
- "_enabled": true,
74
- "__prefab": {
75
- "__id__": 3
76
- },
77
- "_contentSize": {
78
- "__type__": "cc.Size",
79
- "width": 1920,
80
- "height": 1080
81
- },
82
- "_anchorPoint": {
83
- "__type__": "cc.Vec2",
84
- "x": 0.5,
85
- "y": 0.5
86
- },
87
- "_id": ""
88
- },
89
- {
90
- "__type__": "cc.CompPrefabInfo",
91
- "fileId": "YKE2rBoSss6B7J9J7NmooA"
92
- },
93
- {
94
- "__type__": "ac639Jv+5hDbIFGypCd0NdE",
95
- "_name": "",
96
- "_objFlags": 0,
97
- "__editorExtras__": {},
98
- "node": {
99
- "__id__": 1
100
- },
101
- "_enabled": true,
102
- "__prefab": {
103
- "__id__": 5
104
- },
105
- "_id": ""
106
- },
107
- {
108
- "__type__": "cc.CompPrefabInfo",
109
- "fileId": "8DUBt/jHRQZIeZPyT1TSUw"
110
- },
111
- {
112
- "__type__": "cc.Sprite",
113
- "_name": "",
114
- "_objFlags": 0,
115
- "__editorExtras__": {},
116
- "node": {
117
- "__id__": 1
118
- },
119
- "_enabled": true,
120
- "__prefab": {
121
- "__id__": 7
122
- },
123
- "_customMaterial": null,
124
- "_srcBlendFactor": 2,
125
- "_dstBlendFactor": 4,
126
- "_color": {
127
- "__type__": "cc.Color",
128
- "r": 210,
129
- "g": 228,
130
- "b": 164,
131
- "a": 255
132
- },
133
- "_spriteFrame": {
134
- "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941",
135
- "__expectedType__": "cc.SpriteFrame"
136
- },
137
- "_type": 1,
138
- "_fillType": 0,
139
- "_sizeMode": 0,
140
- "_fillCenter": {
141
- "__type__": "cc.Vec2",
142
- "x": 0,
143
- "y": 0
144
- },
145
- "_fillStart": 0,
146
- "_fillRange": 0,
147
- "_isTrimmedMode": true,
148
- "_useGrayscale": false,
149
- "_atlas": null,
150
- "_id": ""
151
- },
152
- {
153
- "__type__": "cc.CompPrefabInfo",
154
- "fileId": "fakjd6D+9PEqBBT1NznLsK"
155
- },
156
- {
157
- "__type__": "cc.PrefabInfo",
158
- "root": {
159
- "__id__": 1
160
- },
161
- "asset": {
162
- "__id__": 0
163
- },
164
- "fileId": "lLZC10USkJWWH0FmigHs1A",
165
- "instance": null,
166
- "targetOverrides": null
167
- }
168
- ]
@@ -1,13 +0,0 @@
1
- {
2
- "ver": "1.1.50",
3
- "importer": "prefab",
4
- "imported": true,
5
- "uuid": "f2f9e936-1f37-430c-8f8b-a0df7fde6e3e",
6
- "files": [
7
- ".json"
8
- ],
9
- "subMetas": {},
10
- "userData": {
11
- "syncNodeName": "GameView"
12
- }
13
- }
@@ -1,499 +0,0 @@
1
- [
2
- {
3
- "__type__": "cc.Prefab",
4
- "_name": "HudView",
5
- "_objFlags": 0,
6
- "__editorExtras__": {},
7
- "_native": "",
8
- "data": {
9
- "__id__": 1
10
- },
11
- "optimizationPolicy": 0,
12
- "persistent": false
13
- },
14
- {
15
- "__type__": "cc.Node",
16
- "_name": "HudView",
17
- "_objFlags": 0,
18
- "__editorExtras__": {},
19
- "_parent": null,
20
- "_children": [
21
- {
22
- "__id__": 2
23
- }
24
- ],
25
- "_active": true,
26
- "_components": [
27
- {
28
- "__id__": 16
29
- },
30
- {
31
- "__id__": 18
32
- }
33
- ],
34
- "_prefab": {
35
- "__id__": 20
36
- },
37
- "_lpos": {
38
- "__type__": "cc.Vec3",
39
- "x": 0,
40
- "y": 0,
41
- "z": 0
42
- },
43
- "_lrot": {
44
- "__type__": "cc.Quat",
45
- "x": 0,
46
- "y": 0,
47
- "z": 0,
48
- "w": 1
49
- },
50
- "_lscale": {
51
- "__type__": "cc.Vec3",
52
- "x": 1,
53
- "y": 1,
54
- "z": 1
55
- },
56
- "_mobility": 0,
57
- "_layer": 1073741824,
58
- "_euler": {
59
- "__type__": "cc.Vec3",
60
- "x": 0,
61
- "y": 0,
62
- "z": 0
63
- },
64
- "_id": ""
65
- },
66
- {
67
- "__type__": "cc.Node",
68
- "_name": "btnBag",
69
- "_objFlags": 0,
70
- "__editorExtras__": {},
71
- "_parent": {
72
- "__id__": 1
73
- },
74
- "_children": [
75
- {
76
- "__id__": 3
77
- }
78
- ],
79
- "_active": true,
80
- "_components": [
81
- {
82
- "__id__": 9
83
- },
84
- {
85
- "__id__": 11
86
- },
87
- {
88
- "__id__": 13
89
- }
90
- ],
91
- "_prefab": {
92
- "__id__": 15
93
- },
94
- "_lpos": {
95
- "__type__": "cc.Vec3",
96
- "x": 835.388,
97
- "y": 460.391,
98
- "z": 0
99
- },
100
- "_lrot": {
101
- "__type__": "cc.Quat",
102
- "x": 0,
103
- "y": 0,
104
- "z": 0,
105
- "w": 1
106
- },
107
- "_lscale": {
108
- "__type__": "cc.Vec3",
109
- "x": 1,
110
- "y": 1,
111
- "z": 1
112
- },
113
- "_mobility": 0,
114
- "_layer": 1073741824,
115
- "_euler": {
116
- "__type__": "cc.Vec3",
117
- "x": 0,
118
- "y": 0,
119
- "z": 0
120
- },
121
- "_id": ""
122
- },
123
- {
124
- "__type__": "cc.Node",
125
- "_name": "Label",
126
- "_objFlags": 512,
127
- "__editorExtras__": {},
128
- "_parent": {
129
- "__id__": 2
130
- },
131
- "_children": [],
132
- "_active": true,
133
- "_components": [
134
- {
135
- "__id__": 4
136
- },
137
- {
138
- "__id__": 6
139
- }
140
- ],
141
- "_prefab": {
142
- "__id__": 8
143
- },
144
- "_lpos": {
145
- "__type__": "cc.Vec3",
146
- "x": 0,
147
- "y": 0,
148
- "z": 0
149
- },
150
- "_lrot": {
151
- "__type__": "cc.Quat",
152
- "x": 0,
153
- "y": 0,
154
- "z": 0,
155
- "w": 1
156
- },
157
- "_lscale": {
158
- "__type__": "cc.Vec3",
159
- "x": 1,
160
- "y": 1,
161
- "z": 1
162
- },
163
- "_mobility": 0,
164
- "_layer": 1073741824,
165
- "_euler": {
166
- "__type__": "cc.Vec3",
167
- "x": 0,
168
- "y": 0,
169
- "z": 0
170
- },
171
- "_id": ""
172
- },
173
- {
174
- "__type__": "cc.UITransform",
175
- "_name": "",
176
- "_objFlags": 0,
177
- "__editorExtras__": {},
178
- "node": {
179
- "__id__": 3
180
- },
181
- "_enabled": true,
182
- "__prefab": {
183
- "__id__": 5
184
- },
185
- "_contentSize": {
186
- "__type__": "cc.Size",
187
- "width": 100,
188
- "height": 40
189
- },
190
- "_anchorPoint": {
191
- "__type__": "cc.Vec2",
192
- "x": 0.5,
193
- "y": 0.5
194
- },
195
- "_id": ""
196
- },
197
- {
198
- "__type__": "cc.CompPrefabInfo",
199
- "fileId": "1eaeZI5N9PS7ft3nudXPCg"
200
- },
201
- {
202
- "__type__": "cc.Label",
203
- "_name": "",
204
- "_objFlags": 0,
205
- "__editorExtras__": {},
206
- "node": {
207
- "__id__": 3
208
- },
209
- "_enabled": true,
210
- "__prefab": {
211
- "__id__": 7
212
- },
213
- "_customMaterial": null,
214
- "_srcBlendFactor": 2,
215
- "_dstBlendFactor": 4,
216
- "_color": {
217
- "__type__": "cc.Color",
218
- "r": 0,
219
- "g": 0,
220
- "b": 0,
221
- "a": 255
222
- },
223
- "_string": "背包",
224
- "_horizontalAlign": 1,
225
- "_verticalAlign": 1,
226
- "_actualFontSize": 30,
227
- "_fontSize": 30,
228
- "_fontFamily": "Arial",
229
- "_lineHeight": 30,
230
- "_overflow": 1,
231
- "_enableWrapText": false,
232
- "_font": null,
233
- "_isSystemFontUsed": true,
234
- "_spacingX": 0,
235
- "_isItalic": false,
236
- "_isBold": false,
237
- "_isUnderline": false,
238
- "_underlineHeight": 2,
239
- "_cacheMode": 0,
240
- "_enableOutline": false,
241
- "_outlineColor": {
242
- "__type__": "cc.Color",
243
- "r": 0,
244
- "g": 0,
245
- "b": 0,
246
- "a": 255
247
- },
248
- "_outlineWidth": 2,
249
- "_enableShadow": false,
250
- "_shadowColor": {
251
- "__type__": "cc.Color",
252
- "r": 0,
253
- "g": 0,
254
- "b": 0,
255
- "a": 255
256
- },
257
- "_shadowOffset": {
258
- "__type__": "cc.Vec2",
259
- "x": 2,
260
- "y": 2
261
- },
262
- "_shadowBlur": 2,
263
- "_id": ""
264
- },
265
- {
266
- "__type__": "cc.CompPrefabInfo",
267
- "fileId": "afq4GCTtJBjKSBQtpc20Hv"
268
- },
269
- {
270
- "__type__": "cc.PrefabInfo",
271
- "root": {
272
- "__id__": 1
273
- },
274
- "asset": {
275
- "__id__": 0
276
- },
277
- "fileId": "03GhbeWblJfqx00xgg2WII",
278
- "instance": null,
279
- "targetOverrides": null,
280
- "nestedPrefabInstanceRoots": null
281
- },
282
- {
283
- "__type__": "cc.UITransform",
284
- "_name": "",
285
- "_objFlags": 0,
286
- "__editorExtras__": {},
287
- "node": {
288
- "__id__": 2
289
- },
290
- "_enabled": true,
291
- "__prefab": {
292
- "__id__": 10
293
- },
294
- "_contentSize": {
295
- "__type__": "cc.Size",
296
- "width": 100,
297
- "height": 100
298
- },
299
- "_anchorPoint": {
300
- "__type__": "cc.Vec2",
301
- "x": 0.5,
302
- "y": 0.5
303
- },
304
- "_id": ""
305
- },
306
- {
307
- "__type__": "cc.CompPrefabInfo",
308
- "fileId": "c2m6LxV9ZGArZ5OEaI6Bfn"
309
- },
310
- {
311
- "__type__": "cc.Sprite",
312
- "_name": "",
313
- "_objFlags": 0,
314
- "__editorExtras__": {},
315
- "node": {
316
- "__id__": 2
317
- },
318
- "_enabled": true,
319
- "__prefab": {
320
- "__id__": 12
321
- },
322
- "_customMaterial": null,
323
- "_srcBlendFactor": 2,
324
- "_dstBlendFactor": 4,
325
- "_color": {
326
- "__type__": "cc.Color",
327
- "r": 255,
328
- "g": 255,
329
- "b": 255,
330
- "a": 255
331
- },
332
- "_spriteFrame": {
333
- "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941",
334
- "__expectedType__": "cc.SpriteFrame"
335
- },
336
- "_type": 1,
337
- "_fillType": 0,
338
- "_sizeMode": 0,
339
- "_fillCenter": {
340
- "__type__": "cc.Vec2",
341
- "x": 0,
342
- "y": 0
343
- },
344
- "_fillStart": 0,
345
- "_fillRange": 0,
346
- "_isTrimmedMode": true,
347
- "_useGrayscale": false,
348
- "_atlas": null,
349
- "_id": ""
350
- },
351
- {
352
- "__type__": "cc.CompPrefabInfo",
353
- "fileId": "2aFqwTGl9DWJNKelGavnBX"
354
- },
355
- {
356
- "__type__": "cc.Button",
357
- "_name": "",
358
- "_objFlags": 0,
359
- "__editorExtras__": {},
360
- "node": {
361
- "__id__": 2
362
- },
363
- "_enabled": true,
364
- "__prefab": {
365
- "__id__": 14
366
- },
367
- "clickEvents": [],
368
- "_interactable": true,
369
- "_transition": 2,
370
- "_normalColor": {
371
- "__type__": "cc.Color",
372
- "r": 214,
373
- "g": 214,
374
- "b": 214,
375
- "a": 255
376
- },
377
- "_hoverColor": {
378
- "__type__": "cc.Color",
379
- "r": 211,
380
- "g": 211,
381
- "b": 211,
382
- "a": 255
383
- },
384
- "_pressedColor": {
385
- "__type__": "cc.Color",
386
- "r": 255,
387
- "g": 255,
388
- "b": 255,
389
- "a": 255
390
- },
391
- "_disabledColor": {
392
- "__type__": "cc.Color",
393
- "r": 124,
394
- "g": 124,
395
- "b": 124,
396
- "a": 255
397
- },
398
- "_normalSprite": {
399
- "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941",
400
- "__expectedType__": "cc.SpriteFrame"
401
- },
402
- "_hoverSprite": {
403
- "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941",
404
- "__expectedType__": "cc.SpriteFrame"
405
- },
406
- "_pressedSprite": {
407
- "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941",
408
- "__expectedType__": "cc.SpriteFrame"
409
- },
410
- "_disabledSprite": {
411
- "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941",
412
- "__expectedType__": "cc.SpriteFrame"
413
- },
414
- "_duration": 0.1,
415
- "_zoomScale": 1.2,
416
- "_target": {
417
- "__id__": 2
418
- },
419
- "_id": ""
420
- },
421
- {
422
- "__type__": "cc.CompPrefabInfo",
423
- "fileId": "596Wj5LF1F1YPnCkpL43vn"
424
- },
425
- {
426
- "__type__": "cc.PrefabInfo",
427
- "root": {
428
- "__id__": 1
429
- },
430
- "asset": {
431
- "__id__": 0
432
- },
433
- "fileId": "66cDu2TBhJ1KXMtx14DN2s",
434
- "instance": null,
435
- "targetOverrides": null,
436
- "nestedPrefabInstanceRoots": null
437
- },
438
- {
439
- "__type__": "cc.UITransform",
440
- "_name": "",
441
- "_objFlags": 0,
442
- "__editorExtras__": {},
443
- "node": {
444
- "__id__": 1
445
- },
446
- "_enabled": true,
447
- "__prefab": {
448
- "__id__": 17
449
- },
450
- "_contentSize": {
451
- "__type__": "cc.Size",
452
- "width": 1920,
453
- "height": 1080
454
- },
455
- "_anchorPoint": {
456
- "__type__": "cc.Vec2",
457
- "x": 0.5,
458
- "y": 0.5
459
- },
460
- "_id": ""
461
- },
462
- {
463
- "__type__": "cc.CompPrefabInfo",
464
- "fileId": "tl/QFkXEpG06ao9EQCKAFg"
465
- },
466
- {
467
- "__type__": "63b0ax+2MVDyo0GYtoDnJHZ",
468
- "_name": "",
469
- "_objFlags": 0,
470
- "__editorExtras__": {},
471
- "node": {
472
- "__id__": 1
473
- },
474
- "_enabled": true,
475
- "__prefab": {
476
- "__id__": 19
477
- },
478
- "btnBag": {
479
- "__id__": 2
480
- },
481
- "_id": ""
482
- },
483
- {
484
- "__type__": "cc.CompPrefabInfo",
485
- "fileId": "KnCsQAY3gzZ3mtFoT8bB+g"
486
- },
487
- {
488
- "__type__": "cc.PrefabInfo",
489
- "root": {
490
- "__id__": 1
491
- },
492
- "asset": {
493
- "__id__": 0
494
- },
495
- "fileId": "s5pykLzXOJ0gYepSlW152Q",
496
- "instance": null,
497
- "targetOverrides": null
498
- }
499
- ]
@@ -1,13 +0,0 @@
1
- {
2
- "ver": "1.1.50",
3
- "importer": "prefab",
4
- "imported": true,
5
- "uuid": "17b8e7aa-36fd-410c-a189-563d8067c5c9",
6
- "files": [
7
- ".json"
8
- ],
9
- "subMetas": {},
10
- "userData": {
11
- "syncNodeName": "HudView"
12
- }
13
- }
@@ -1,9 +0,0 @@
1
- {
2
- "ver": "1.2.0",
3
- "importer": "directory",
4
- "imported": true,
5
- "uuid": "029189c3-e0f2-461d-b33d-efa114be317d",
6
- "files": [],
7
- "subMetas": {},
8
- "userData": {}
9
- }