소스 검색

Merge pull request #7372 from mhilbrunner/creating-my-own-enemies

Max Hilbrunner 2 년 전
부모
커밋
ab22e5488a
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