19 lines
539 B
Plaintext
19 lines
539 B
Plaintext
|
[gd_scene load_steps=2 format=3 uid="uid://bdlo2wn4qnygv"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://scene/tool_button/tool_button.gd" id="1_rfp4a"]
|
||
|
|
||
|
[node name="ToolButton" type="Button"]
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
focus_mode = 0
|
||
|
flat = true
|
||
|
script = ExtResource("1_rfp4a")
|
||
|
|
||
|
[connection signal="button_down" from="." to="." method="on_button_down"]
|
||
|
[connection signal="button_up" from="." to="." method="on_button_up"]
|