Answers for "delete node godot"

3

godot destroy node

Self destroy:
queue_free()
get_parent().remove_child(self)
Posted by: Guest on October-14-2020
0

godot delete node once i am done with it

elif flash_opacity < 0:
    flash_times -= 1
    if flash_times == 0: # The number of times to flash has ended so kill the node
        flash_player_buttons = false
        hide()
        # get_parent().remove_child(self) # this also works
        queue_free()
    flash_up = true
Posted by: Guest on August-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language