瀏覽代碼

[DOCS] EditorScript methods

Will Nations 7 年之前
父節點
當前提交
2b59d30bdc
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      doc/classes/EditorScript.xml

+ 3 - 1
doc/classes/EditorScript.xml

@@ -9,7 +9,7 @@
 		[codeblock]
 		tool
 		extends EditorScript
-		
+
 		func _run():
 		    print("Hello from the Godot Editor!")
 		[/codeblock]
@@ -33,6 +33,8 @@
 			<argument index="0" name="node" type="Node">
 			</argument>
 			<description>
+				Adds [code]node[/code] as a child of the root node in the editor context.
+				WARNING: The implementation of this method is currently disabled.
 			</description>
 		</method>
 		<method name="get_editor_interface">