ソースを参照

Fix Incorrect Comment Description of Method (#1680)

* Fix Incorrect Comment Description of Method

* Fix Wrong Information about QueueFree
Aswin Mohan 7 年 前
コミット
a39c9143f7
1 ファイル変更2 行追加2 行削除
  1. 2 2
      getting_started/step_by_step/scripting_continued.rst

+ 2 - 2
getting_started/step_by_step/scripting_continued.rst

@@ -327,13 +327,13 @@ This erases the node safely during idle.
  .. code-tab:: gdscript GDScript
  .. code-tab:: gdscript GDScript
 
 
     func _someaction():
     func _someaction():
-        s.queue_free() # Immediately removes the node from the scene and frees it.
+        s.queue_free() # Queues the Node for deletion at the end of the current Frame.
 
 
  .. code-tab:: csharp
  .. code-tab:: csharp
 
 
     public void _SomeAction()
     public void _SomeAction()
     {
     {
-        _sprite.QueueFree(); // Immediately removes the node from the scene and frees it.
+        _sprite.QueueFree(); // Queues the Node for deletion at the end of the current Frame.
     }
     }
 
 
 Instancing scenes
 Instancing scenes