Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_NGT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
middleLayer_for_NGT
Commits
0bb519c8
Commit
0bb519c8
authored
Oct 12, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 适配大小
parent
5b271f93
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
26 deletions
+26
-26
middleLayer_for_NGT.fire
assets/middleLayer_for_NGT/scene/middleLayer_for_NGT.fire
+24
-24
middleLayer.ts
assets/middleLayer_for_NGT/script/middleLayer.ts
+2
-2
No files found.
assets/middleLayer_for_NGT/scene/middleLayer_for_NGT.fire
View file @
0bb519c8
...
@@ -435,8 +435,8 @@
...
@@ -435,8 +435,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-6
04.7
5,
-6
15.40
5,
3
26.75
,
3
34.563
,
0,
0,
0,
0,
0,
0,
...
@@ -539,9 +539,9 @@
...
@@ -539,9 +539,9 @@
"alignMode": 2,
"alignMode": 2,
"_target": null,
"_target": null,
"_alignFlags": 9,
"_alignFlags": 9,
"_left":
14.5
,
"_left":
3.8450000000000273
,
"_right": 0,
"_right": 0,
"_top":
12.5
,
"_top":
4.687000000000012
,
"_bottom": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
...
@@ -630,15 +630,15 @@
...
@@ -630,15 +630,15 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
465.177
,
507.432
,
3
25.829
,
3
36.763
,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0.
7
,
0.
5
,
0.
7
,
0.
5
,
1
1
]
]
},
},
...
@@ -735,8 +735,8 @@
...
@@ -735,8 +735,8 @@
"_target": null,
"_target": null,
"_alignFlags": 33,
"_alignFlags": 33,
"_left": 20,
"_left": 20,
"_right": 1
48.57299999999998
,
"_right": 1
13.81799999999993
,
"_top":
8.271000000000015
,
"_top":
4.737000000000023
,
"_bottom": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
...
@@ -810,8 +810,8 @@
...
@@ -810,8 +810,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 5
8.39
,
"width": 5
0.04
,
"height":
52.92
"height":
45.36
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -822,8 +822,8 @@
...
@@ -822,8 +822,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
5
26.997
,
5
60.574
,
33
1.082
,
33
7.56199999999995
,
0,
0,
0,
0,
0,
0,
...
@@ -864,8 +864,8 @@
...
@@ -864,8 +864,8 @@
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_string": "1/5",
"_string": "1/5",
"_N$string": "1/5",
"_N$string": "1/5",
"_fontSize":
42
,
"_fontSize":
36
,
"_lineHeight":
42
,
"_lineHeight":
36
,
"_enableWrapText": true,
"_enableWrapText": true,
"_N$file": null,
"_N$file": null,
"_isSystemFontUsed": true,
"_isSystemFontUsed": true,
...
@@ -892,8 +892,8 @@
...
@@ -892,8 +892,8 @@
"_target": null,
"_target": null,
"_alignFlags": 33,
"_alignFlags": 33,
"_left": 0,
"_left": 0,
"_right":
83.80799999999999
,
"_right":
54.406000000000105
,
"_top":
2.458000000000027
,
"_top":
-0.24199999999999022
,
"_bottom": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
...
@@ -950,15 +950,15 @@
...
@@ -950,15 +950,15 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
594.35
1,
614.8
1,
3
24.847
,
3
36.96
,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0.
7
,
0.
5
,
0.
7
,
0.
5
,
1
1
]
]
},
},
...
@@ -1055,8 +1055,8 @@
...
@@ -1055,8 +1055,8 @@
"_target": null,
"_target": null,
"_alignFlags": 33,
"_alignFlags": 33,
"_left": 20,
"_left": 20,
"_right":
19.399
,
"_right":
6.440000000000055
,
"_top":
9.253000000000043
,
"_top":
4.5400000000000205
,
"_bottom": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
...
...
assets/middleLayer_for_NGT/script/middleLayer.ts
View file @
0bb519c8
...
@@ -160,7 +160,7 @@ export default class NewClass extends middleLayerBase {
...
@@ -160,7 +160,7 @@ export default class NewClass extends middleLayerBase {
}
else
{
}
else
{
cc
.
find
(
'
middleLayer/BtnRight
'
).
active
=
true
;
cc
.
find
(
'
middleLayer/BtnRight
'
).
active
=
true
;
}
}
},
0.
7
);
},
0.
5
);
buttonOnClick
(
cc
.
find
(
'
middleLayer/BtnLeft
'
),
()
=>
{
buttonOnClick
(
cc
.
find
(
'
middleLayer/BtnLeft
'
),
()
=>
{
if
(
this
.
isShowWaiting
)
{
if
(
this
.
isShowWaiting
)
{
...
@@ -177,7 +177,7 @@ export default class NewClass extends middleLayerBase {
...
@@ -177,7 +177,7 @@ export default class NewClass extends middleLayerBase {
}
else
{
}
else
{
cc
.
find
(
'
middleLayer/BtnRight
'
).
active
=
true
;
cc
.
find
(
'
middleLayer/BtnRight
'
).
active
=
true
;
}
}
},
0.
7
);
},
0.
5
);
buttonOnClick
(
cc
.
find
(
'
middleLayer/activeLayer/active
'
),
async
()
=>
{
buttonOnClick
(
cc
.
find
(
'
middleLayer/activeLayer/active
'
),
async
()
=>
{
if
(
this
.
isShowWaiting
)
{
if
(
this
.
isShowWaiting
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment