newlon/scenes/gui/shovel_button.tscn
2025-07-11 22:35:36 +05:00

22 lines
861 B
Text

[gd_scene load_steps=4 format=3 uid="uid://t0vpmycj6c8j"]
[ext_resource type="Texture2D" uid="uid://cw73vihkrfenc" path="res://assets/sprites/gui/Shovel.tres" id="1_46afk"]
[ext_resource type="Texture2D" uid="uid://fd6drk2su0df" path="res://assets/sprites/gui/EmptyShovel.tres" id="2_pw2pj"]
[ext_resource type="Script" uid="uid://d4dbg0us5ngxy" path="res://scripts/gui/ShovelButton.cs" id="3_u6gir"]
[node name="ShovelButton" type="TextureButton"]
anchors_preset = -1
anchor_right = 0.085
anchor_bottom = 0.117
offset_right = -11.0
offset_bottom = -6.8
size_flags_horizontal = 4
size_flags_vertical = 0
mouse_default_cursor_shape = 2
toggle_mode = true
texture_normal = ExtResource("1_46afk")
texture_pressed = ExtResource("2_pw2pj")
stretch_mode = 0
script = ExtResource("3_u6gir")
[connection signal="focus_exited" from="." to="." method="OnFocusExited"]