35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://ch1pukkyc07qo"]
|
|
|
|
[ext_resource type="Script" path="res://godot_state_charts_examples/cooldown/skill_button/skill_button.gd" id="1_r0ivs"]
|
|
[ext_resource type="Texture2D" uid="uid://tgsnqiq40n41" path="res://godot_state_charts_examples/cooldown/icons/cooldown_overlay.png" id="3_pgrfi"]
|
|
|
|
[node name="SkillButton" type="MarginContainer"]
|
|
offset_right = 32.0
|
|
offset_bottom = 32.0
|
|
script = ExtResource("1_r0ivs")
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="TextureProgressBar" type="TextureProgressBar" parent="."]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
step = 0.0
|
|
fill_mode = 4
|
|
texture_progress = ExtResource("3_pgrfi")
|
|
tint_progress = Color(0, 0, 0, 1)
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 8
|
|
theme_override_font_sizes/font_size = 48
|
|
text = "10"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|