Files
MovementTests/menus/scenes/overlaid_menus/toolbox.gd
Minimata 056a68b0ad
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 35s
Create tag and build when new code gets to main / Test (push) Successful in 6m20s
Create tag and build when new code gets to main / Export (push) Successful in 7m20s
small death animation and toolbox
2026-01-27 16:42:31 +01:00

11 lines
261 B
GDScript

@tool
@icon("res://assets/ui/IconGodotNode/control/icon_gear_2.png")
class_name Toolbox
extends OverlaidMenu
@export var player: PlayerController
func _on_kill_player_button_pressed() -> void:
get_tree().create_timer(1).timeout.connect(player.Kill)
close()