Skip to content

Commit 9283e67

Browse files
Removes script prefabs from Blocks view.
1 parent a60ae4a commit 9283e67

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

scene-editor/script-node-create.rst

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,7 @@ A |ScriptNode|_ object shares a lot with the game objects, you can add it to the
1111

1212
That action creates an instance of the `ScriptNode class <./script-node-class.html>`_ and adds it to the object selected in the scene. If no object is selected, then it adds the script node to the scene.
1313

14-
In addition to an instance of the `ScriptNode class`_, you can add an instance of a `ScriptNode prefab <./script-node-prefab.html>`_. The script node prefabs are shown next to the other prefabs in the |BlocksView|_:
15-
16-
.. image:: ../images/script-node-prefab-in-blocks-view.webp
17-
:alt: Script Node prefabs in the Blocks view.
18-
19-
another way of adding a script node is by selecting the **Add Script** option in the **Script** context menu. It is also available as a command (``U``).
14+
In addition to an instance of the `ScriptNode class`_, you can add an instance of a `ScriptNode prefab <./script-node-prefab.html>`_: select the **Add Script** option in the **Script** context menu or press the **Add Script** command (``U``).
2015

2116
.. image:: ../images/script-node-add-script-command.webp
2217
:alt: Add Script command.
@@ -68,4 +63,4 @@ It is the code generated by the |SceneCompiler|_ when you add a script node pref
6863
...
6964
}
7065
71-
The **ScriptNode** class is not part of |Phaser|_, but it could be generated by Phaser Editor 2D. The next section is about it.
66+
The **ScriptNode** class is not part of Phaser_, but it could be generated by Phaser Editor 2D. The next section is about it.

0 commit comments

Comments
 (0)