瀏覽代碼

Remove, '#' from line 194. Line 194 if statement was commented out.

Element894 2 年之前
父節點
當前提交
10df3c01ad
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      getting_started/first_3d_game/09.adding_animations.rst

+ 1 - 1
getting_started/first_3d_game/09.adding_animations.rst

@@ -191,7 +191,7 @@ vector, add the following code.
 
    func _physics_process(delta):
        #...
-       #if direction != Vector3.ZERO:
+       if direction != Vector3.ZERO:
            #...
            $AnimationPlayer.playback_speed = 4
        else: