drag and drop UI
This commit is contained in:
28
Meeting.tscn
28
Meeting.tscn
@@ -2,12 +2,13 @@
|
||||
|
||||
[ext_resource type="Script" uid="uid://cit20jyhj41rs" path="res://Meeting.cs" id="1_1rolt"]
|
||||
[ext_resource type="Texture2D" uid="uid://dyxftkkuf7h7w" path="res://icon.svg" id="1_2t4nr"]
|
||||
[ext_resource type="PackedScene" uid="uid://b2cpk0ef3rw87" path="res://MeetingControlGfx.tscn" id="2_h68fa"]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_glv2v"]
|
||||
bounce = 0.1
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_boq60"]
|
||||
size = Vector2(294, 72)
|
||||
size = Vector2(329, 80)
|
||||
|
||||
[node name="Meeting" type="RigidBody2D" unique_id=796440984]
|
||||
input_pickable = true
|
||||
@@ -16,9 +17,26 @@ freeze_mode = 1
|
||||
continuous_cd = 2
|
||||
script = ExtResource("1_1rolt")
|
||||
|
||||
[node name="Icon" type="Sprite2D" parent="." unique_id=1878852055]
|
||||
scale = Vector2(2.3203125, 0.6015625)
|
||||
texture = ExtResource("1_2t4nr")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=235269066]
|
||||
position = Vector2(0.5, 0)
|
||||
shape = SubResource("RectangleShape2D_boq60")
|
||||
|
||||
[node name="MeetingControlGFX" parent="." unique_id=1923695250 instance=ExtResource("2_h68fa")]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -164.5
|
||||
offset_top = -40.0
|
||||
offset_right = 164.5
|
||||
offset_bottom = 40.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Icon" type="Sprite2D" parent="." unique_id=816382870]
|
||||
self_modulate = Color(0.649173, 0, 0.25909996, 1)
|
||||
position = Vector2(153, -29.000004)
|
||||
scale = Vector2(0.1171875, 0.1171875)
|
||||
texture = ExtResource("1_2t4nr")
|
||||
|
||||
Reference in New Issue
Block a user