浏览代码

Small improvements to named types expalnation

Max Hilbrunner 4 年之前
父节点
当前提交
883b9f90c7
共有 1 个文件被更改,包括 5 次插入19 次删除
  1. 5 19
      tutorials/best_practices/scenes_versus_scripts.rst

+ 5 - 19
tutorials/best_practices/scenes_versus_scripts.rst

@@ -63,9 +63,9 @@ the node, the more reason there is to build it as a scene.
 Named types
 Named types
 -----------
 -----------
 
 
-In some cases, a user can register a script as a new type within the editor
+Scripts can be registered as a new type within the editor
 itself. This displays it as a new type in the node or resource creation dialog
 itself. This displays it as a new type in the node or resource creation dialog
-with an optional icon. In these cases, the user's ability to use the script
+with an optional icon. This way, the user's ability to use the script
 is much more streamlined. Rather than having to...
 is much more streamlined. Rather than having to...
 
 
 1. Know the base type of the script they would like to use.
 1. Know the base type of the script they would like to use.
@@ -74,26 +74,12 @@ is much more streamlined. Rather than having to...
 
 
 3. Add the script to the node.
 3. Add the script to the node.
 
 
-   1. (Drag-n-drop method)
-
-      1. Find the script in the FileSystem dock.
-
-      2. Drag and drop the script onto the node in the Scene dock.
-
-   2. (Property method)
-
-      1. Scroll down to the bottom of the Inspector to find the ``script`` property and select it.
-
-      2. Select "Load" from the dropdown.
-
-      3. Select the script from the file dialog.
-
 With a registered script, the scripted type instead becomes a creation option
 With a registered script, the scripted type instead becomes a creation option
-like the other nodes and resources in the system. One need not do any of the
-above work. The creation dialog even has a search bar to look up the type by
+like the other nodes and resources in the system.
+The creation dialog even has a search bar to look up the type by
 name.
 name.
 
 
-There are two systems for registering types...
+There are two systems for registering types:
 
 
 - :ref:`Custom Types <doc_making_plugins>`
 - :ref:`Custom Types <doc_making_plugins>`