📜  完成后 godot 删除节点 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:56.379000             🧑  作者: Mango

代码示例1
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