@@ -383,7 +383,7 @@
"__id__": 2
},
"_children": [],
- "_active": false,
+ "_active": true,
"_components": [
{
"__id__": 10
@@ -398,7 +398,7 @@
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
- "x": 0,
+ "x": -400,
"y": -85.32689520567806,
"z": 0
@@ -498,8 +498,8 @@
"__prefab": null,
"_alignFlags": 45,
"_target": null,
- "_left": 85,
- "_right": 85,
+ "_left": -315,
+ "_right": 485,
"_top": -265.4131048038587,
"_bottom": 578.4131048038587,
"_horizontalCenter": 0,
@@ -45,6 +45,7 @@ export class CharacterManager extends Component {
// 记录人物初始位置
if (this.characterNode) {
this.initialPosition = this.characterNode.position.clone();
+ this.initialPosition.x += 400; // 初始位置的x坐标增加400
}
// 设置按钮事件监听