浏览代码

Update 04.mob_scene.rst

Removed an unnecessary instruction

(cherry picked from commit cd48dd0245645f901ef194dce42e48fca7e39aef)
MarsAstro 1 年之前
父节点
当前提交
6b53c69def
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      getting_started/first_3d_game/04.mob_scene.rst

+ 1 - 4
getting_started/first_3d_game/04.mob_scene.rst

@@ -218,9 +218,6 @@ Leaving the screen
 We still have to destroy the mobs when they leave the screen. To do so, we'll
 We still have to destroy the mobs when they leave the screen. To do so, we'll
 connect our :ref:`VisibleOnScreenNotifier3D <class_VisibleOnScreenNotifier3D>` node's ``screen_exited`` signal to the ``Mob``.
 connect our :ref:`VisibleOnScreenNotifier3D <class_VisibleOnScreenNotifier3D>` node's ``screen_exited`` signal to the ``Mob``.
 
 
-Head back to the 3D viewport by clicking on the *3D* label at the top of the
-editor. You can also press :kbd:`Ctrl + F2` (:kbd:`Alt + 2` on macOS).
-
 |image8|
 |image8|
 
 
 Select the :ref:`VisibleOnScreenNotifier3D <class_VisibleOnScreenNotifier3D>` node and on the right side of the interface,
 Select the :ref:`VisibleOnScreenNotifier3D <class_VisibleOnScreenNotifier3D>` node and on the right side of the interface,
@@ -232,7 +229,7 @@ Connect the signal to the ``Mob``
 
 
 |image10|
 |image10|
 
 
-This will take you back to the script editor and add a new function for you,
+This will add a new function for you in your mob script,
 ``_on_visible_on_screen_notifier_3d_screen_exited()``. From it, call the ``queue_free()``
 ``_on_visible_on_screen_notifier_3d_screen_exited()``. From it, call the ``queue_free()``
 method. This function destroys the instance it's called on.
 method. This function destroys the instance it's called on.