Commit 2a45d76e authored by huoshizhe's avatar huoshizhe

fix: 微调摄像机位置

parent 798d8c5d
...@@ -91,9 +91,6 @@ ...@@ -91,9 +91,6 @@
}, },
{ {
"__id__": 54 "__id__": 54
},
{
"__id__": 55
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -183,7 +180,7 @@ ...@@ -183,7 +180,7 @@
"array": [ "array": [
0, 0,
0, 0,
530.8735725198609, 539.5268938142515,
0, 0,
0, 0,
0, 0,
...@@ -2619,29 +2616,5 @@ ...@@ -2619,29 +2616,5 @@
"__uuid__": "82b173cf-75c4-4b54-8143-01df312ee386" "__uuid__": "82b173cf-75c4-4b54-8143-01df312ee386"
}, },
"_id": "82D+21XqhIS5nRBwU+J7qY" "_id": "82D+21XqhIS5nRBwU+J7qY"
},
{
"__type__": "cc.ScrollView",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"horizontal": false,
"vertical": true,
"inertia": false,
"brake": 0.5,
"elastic": false,
"bounceDuration": 1,
"scrollEvents": [],
"cancelInnerEvents": true,
"_N$content": {
"__id__": 8
},
"content": {
"__id__": 8
},
"_id": "97h1Y7GSdAqocxJTBXnWic"
} }
] ]
\ No newline at end of file
...@@ -204,7 +204,7 @@ cc.Class({ ...@@ -204,7 +204,7 @@ cc.Class({
if (idx < 2) { if (idx < 2) {
return; return;
} }
cameraYList.push(idx * 200); cameraYList.push((idx - 1) * 200 + 50);
}); });
const camera = cc.find('Canvas/Main Camera'); const camera = cc.find('Canvas/Main Camera');
asyncTweenTo(camera, 3, { y: cameraYList[idx] }); asyncTweenTo(camera, 3, { y: cameraYList[idx] });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment