modularised ball vendor
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://s6hl2xf6o6sg"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/ball_vendor_object.gd" id="1_1tyxk"]
|
||||
|
||||
[node name="BallVendorObject" type="HBoxContainer"]
|
||||
script = ExtResource("1_1tyxk")
|
||||
|
||||
[node name="BuyButton" type="TextureButton" parent="."]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="PriceLabel" type="RichTextLabel" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[connection signal="pressed" from="BuyButton" to="." method="_on_buy_button_pressed"]
|
||||
Reference in New Issue
Block a user