hero-mark-2/objects/debug.tscn
2023-01-10 00:07:00 -05:00

37 lines
877 B
Text

[gd_scene load_steps=4 format=2]
[ext_resource path="res://scripts/debug.gd" type="Script" id=1]
[sub_resource type="InputEventAction" id=4]
action = "toggle_console"
[sub_resource type="ShortCut" id=3]
shortcut = SubResource( 4 )
[node name="Debug" type="CanvasLayer"]
layer = 128
script = ExtResource( 1 )
[node name="Console" type="Label" parent="."]
anchor_right = 1.0
margin_bottom = 14.0
size_flags_vertical = 0
[node name="Panel" type="Panel" parent="Console"]
show_behind_parent = true
anchor_right = 1.0
anchor_bottom = 1.0
[node name="VisibleToggle" type="CheckBox" parent="."]
visible = false
anchor_left = 1.0
anchor_right = 1.0
margin_left = -22.0
margin_top = 173.0
margin_right = 57.0
margin_bottom = 197.0
pressed = true
shortcut = SubResource( 3 )
text = "Console"
[connection signal="toggled" from="VisibleToggle" to="." method="_on_visible_toggled"]