mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Fix Incorrect Comment Description of Method (#1680)
* Fix Incorrect Comment Description of Method * Fix Wrong Information about QueueFree
This commit is contained in:
committed by
Nathan Lovato
parent
070ac6a137
commit
a39c9143f7
@@ -327,13 +327,13 @@ This erases the node safely during idle.
|
||||
.. code-tab:: gdscript GDScript
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user