23 lines
845 B
Text
23 lines
845 B
Text
[gd_scene load_steps=3 format=3 uid="uid://bcswnjdptjuuf"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dcxxgs78o2apq" path="res://addons/pvzadventure/scenes/dn_d_card.tscn" id="1_7k686"]
|
|
[ext_resource type="Script" uid="uid://da8tobx0q5ij3" path="res://addons/pvzadventure/scripts/DnDWithNumber.cs" id="1_dkrus"]
|
|
|
|
[node name="DnDWithNumber" type="VBoxContainer"]
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
script = ExtResource("1_dkrus")
|
|
|
|
[node name="DnDCard" parent="." instance=ExtResource("1_7k686")]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="SpinBox" type="SpinBox" parent="."]
|
|
layout_mode = 2
|
|
size_flags_vertical = 8
|
|
min_value = 1.0
|
|
value = 1.0
|
|
allow_greater = true
|
|
|
|
[connection signal="DnDDropped" from="DnDCard" to="." method="OnCardDropped"]
|
|
[connection signal="value_changed" from="SpinBox" to="." method="OnNumberSubmitted"]
|