瀏覽代碼

Clarification in Getting Started 2D

Max Hilbrunner 2 年之前
父節點
當前提交
1645e5740c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      getting_started/first_2d_game/04.creating_the_enemy.rst

+ 2 - 2
getting_started/first_2d_game/04.creating_the_enemy.rst

@@ -145,8 +145,8 @@ these names from the list (array indices start at ``0``). ``randi() % n``
 selects a random integer between ``0`` and ``n-1``.
 
 The last piece is to make the mobs delete themselves when they leave the screen.
-Connect the ``screen_exited()`` signal of the ``VisibleOnScreenNotifier2D`` node and
-add this code:
+Connect the ``screen_exited()`` signal of the ``VisibleOnScreenNotifier2D`` node
+to the ``Mob`` and add this code:
 
 .. tabs::
  .. code-tab:: gdscript GDScript