mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
25 lines
1 KiB
Text
25 lines
1 KiB
Text
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://Menu/Icons/Replay/replayIcon3.png" type="Texture" id=1]
|
|
[ext_resource path="res://Menu/Icons/Replay/replayIcon2.png" type="Texture" id=2]
|
|
[ext_resource path="res://Menu/Icons/Replay/replayIcon1.png" type="Texture" id=3]
|
|
[ext_resource path="res://Menu/Buttons/RestartButton.gd" type="Script" id=4]
|
|
[ext_resource path="res://Menu/Buttons/ButtonSFX.tscn" type="PackedScene" id=5]
|
|
|
|
[node name="RestartButton" type="TextureButton"]
|
|
margin_right = 32.0
|
|
margin_bottom = 34.0
|
|
texture_normal = ExtResource( 3 )
|
|
texture_pressed = ExtResource( 1 )
|
|
texture_hover = ExtResource( 2 )
|
|
script = ExtResource( 4 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ButtonSFX" parent="." instance=ExtResource( 5 )]
|
|
|
|
[connection signal="focus_entered" from="." to="ButtonSFX" method="on_hover"]
|
|
[connection signal="mouse_entered" from="." to="ButtonSFX" method="on_hover"]
|
|
[connection signal="pressed" from="." to="." method="_on_RestartButton_pressed"]
|
|
[connection signal="pressed" from="." to="ButtonSFX" method="on_select"]
|