소스 검색

Update 3d_gizmos.rst

As mentioned here https://github.com/godotengine/godot-docs/issues/6716
add/remove_node3d_gizmo_plugin is the wrong method name. But i'm not sure if it intentionally changed to add/remove_node_3d_gizmo_plugin.
Here are the adjustments anway in case it is intentional and going to stay that way.
Julien Winning 2 년 전
부모
커밋
0f5a516a0f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tutorials/plugins/editor/3d_gizmos.rst

+ 2 - 2
tutorials/plugins/editor/3d_gizmos.rst

@@ -49,11 +49,11 @@ This would be a basic setup:
 
 
     func _enter_tree():
-        add_node3d_gizmo_plugin(gizmo_plugin)
+        add_node_3d_gizmo_plugin(gizmo_plugin)
 
 
     func _exit_tree():
-        remove_node3d_gizmo_plugin(gizmo_plugin)
+        remove_node_3d_gizmo_plugin(gizmo_plugin)
 
 
 For simple gizmos, inheriting :ref:`EditorNode3DGizmoPlugin <class_EditorNode3DGizmoPlugin>`