pegchamp/Menu/Buttons/PlayButton.tscn
2021-10-01 16:23:48 +02:00

33 lines
1.2 KiB
Text

[gd_scene load_steps=6 format=2]
[ext_resource path="res://Menu/Icons/Play/Play3.png" type="Texture" id=1]
[ext_resource path="res://Menu/Icons/Play/Play2.png" type="Texture" id=2]
[ext_resource path="res://Menu/Icons/Play/Play1.png" type="Texture" id=3]
[ext_resource path="res://Menu/Buttons/PlayButton.gd" type="Script" id=4]
[ext_resource path="res://Menu/Buttons/ButtonSFX.tscn" type="PackedScene" id=5]
[node name="PlayButton" type="TextureButton"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -384.0
margin_top = -216.0
margin_right = -352.0
margin_bottom = -184.0
size_flags_horizontal = 0
size_flags_vertical = 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="ButtonSFX" method="on_select"]
[connection signal="pressed" from="." to="." method="_on_PlayButton_pressed"]