Explorar o código

Merge pull request #8830 from caimantilla/patch-2

Inspector plugin tutorial: update PackedScene.instance() ref
Max Hilbrunner hai 1 ano
pai
achega
ef9d5adcf4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tutorials/plugins/editor/inspector_plugins.rst

+ 1 - 1
tutorials/plugins/editor/inspector_plugins.rst

@@ -39,7 +39,7 @@ you should remove the instance you have added by calling
 ``remove_inspector_plugin()``.
 ``remove_inspector_plugin()``.
 
 
 .. note:: Here, you are loading a script and not a packed scene. Therefore you
 .. note:: Here, you are loading a script and not a packed scene. Therefore you
-          should use ``new()`` instead of ``instance()``.
+          should use ``new()`` instead of ``instantiate()``.
 
 
 .. tabs::
 .. tabs::
   .. code-tab:: gdscript GDScript
   .. code-tab:: gdscript GDScript