1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
[gd_scene load_steps=3 format=2] [ext_resource path="res://ui/PromotionPreview.gd" type="Script" id=1] [ext_resource path="res://assets/pieces/california/wP.png" type="Texture" id=2] [node name="PromotionPreview" type="TextureButton"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -711.0 margin_top = -400.0 margin_right = -631.0 margin_bottom = -320.0 rect_min_size = Vector2( 80, 80 ) rect_pivot_offset = Vector2( 40, 40 ) mouse_filter = 1 texture_normal = ExtResource( 2 ) expand = true stretch_mode = 5 script = ExtResource( 1 ) [connection signal="mouse_entered" from="." to="." method="set_focused" binds= [ true ]] [connection signal="mouse_exited" from="." to="." method="set_focused" binds= [ false ]]