26 lines
853 B
Text
26 lines
853 B
Text
|
|
[gd_scene load_steps=4 format=3 uid="uid://bqpeu50pgsdfk"]
|
||
|
|
|
||
|
|
[ext_resource type="Texture2D" uid="uid://dqyhhvxpwtpsy" path="res://Assets/Emotes/emote_star.png" id="1_88p3s"]
|
||
|
|
[ext_resource type="Script" uid="uid://dyhtr6g7kd1g2" path="res://UI/tower_button.gd" id="1_i47ne"]
|
||
|
|
[ext_resource type="PackedScene" uid="uid://trg7ag3dqr2l" path="res://Towers/tower.tscn" id="2_4qiv5"]
|
||
|
|
|
||
|
|
[node name="TowerButton" type="Button"]
|
||
|
|
custom_minimum_size = Vector2(300, 50)
|
||
|
|
text = "Pierre
|
||
|
|
250 Trucs"
|
||
|
|
script = ExtResource("1_i47ne")
|
||
|
|
tower = ExtResource("2_4qiv5")
|
||
|
|
|
||
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 4
|
||
|
|
anchor_top = 0.5
|
||
|
|
anchor_bottom = 0.5
|
||
|
|
offset_top = -20.0
|
||
|
|
offset_right = 40.0
|
||
|
|
offset_bottom = 20.0
|
||
|
|
grow_vertical = 2
|
||
|
|
texture = ExtResource("1_88p3s")
|
||
|
|
|
||
|
|
[connection signal="pressed" from="." to="." method="_on_pressed"]
|