We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc4953c + 7cd1003 commit cfd3688Copy full SHA for cfd3688
versions/3.8/zh/getting-started/first-game-2d/index.md
@@ -776,7 +776,10 @@ start() {
776
777
2D 横版游戏中必须要处理卷轴问题,所谓的卷轴就是相机随着角色的运动而运动,导致看到的场景不太一样的情况。
778
779
-为了实现卷轴,我们需要允许 Camera 可以移动并不在强制和 Canvas 对齐,取消 Canvas 节点上 `cc.Canvas` 组件的 **Align Canvas With Screen** 属性:
+为了实现卷轴,我们需要允许 Camera 可以移动并不在强制和 Canvas 对齐:
780
+
781
+1. 取消 Canvas 节点上 `cc.Canvas` 组件的 **Align Canvas With Screen** 属性
782
+2. 将 Camera 节点拖到 Player 节点上,使其成为子节点
783
784

785
0 commit comments