Files
godot-demo-projects/gui/drag_and_drop/drag_and_drop.tscn
2020-02-01 15:47:44 -05:00

119 lines
3.0 KiB
Plaintext

[gd_scene load_steps=2 format=2]
[ext_resource path="res://drag_drop_script.gd" type="Script" id=1]
[node name="DragAndDrop" type="Control"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -512.0
margin_top = -300.0
margin_right = 512.0
margin_bottom = 300.0
size_flags_horizontal = 2
size_flags_vertical = 2
__meta__ = {
"__editor_plugin_screen__": "2D",
"_edit_use_anchors_": false
}
[node name="Information" type="Label" parent="."]
margin_left = 250.0
margin_top = 140.0
margin_right = 761.0
margin_bottom = 154.0
size_flags_horizontal = 2
size_flags_vertical = 0
text = "Drag colors from button to button, or change button colors and drag them again."
[node name="ColorPickerButton0" type="ColorPickerButton" parent="."]
margin_left = 304.0
margin_top = 193.0
margin_right = 400.0
margin_bottom = 257.0
size_flags_horizontal = 2
size_flags_vertical = 2
color = Color( 0.671032, 0.605183, 0, 1 )
script = ExtResource( 1 )
[node name="ColorPickerButton1" type="ColorPickerButton" parent="."]
margin_left = 464.0
margin_top = 193.0
margin_right = 560.0
margin_bottom = 257.0
size_flags_horizontal = 2
size_flags_vertical = 2
color = Color( 0, 0.797347, 0.741037, 1 )
script = ExtResource( 1 )
[node name="ColorPickerButton2" type="ColorPickerButton" parent="."]
margin_left = 624.0
margin_top = 193.0
margin_right = 720.0
margin_bottom = 257.0
size_flags_horizontal = 2
size_flags_vertical = 2
color = Color( 0.443924, 0, 0.632923, 1 )
script = ExtResource( 1 )
[node name="ColorPickerButton3" type="ColorPickerButton" parent="."]
margin_left = 304.0
margin_top = 289.0
margin_right = 400.0
margin_bottom = 353.0
size_flags_horizontal = 2
size_flags_vertical = 2
color = Color( 1, 1, 1, 1 )
script = ExtResource( 1 )
[node name="ColorPickerButton4" type="ColorPickerButton" parent="."]
margin_left = 464.0
margin_top = 289.0
margin_right = 560.0
margin_bottom = 353.0
size_flags_horizontal = 2
size_flags_vertical = 2
color = Color( 1, 0.933842, 0, 1 )
script = ExtResource( 1 )
[node name="ColorPickerButton5" type="ColorPickerButton" parent="."]
margin_left = 624.0
margin_top = 289.0
margin_right = 720.0
margin_bottom = 353.0
size_flags_horizontal = 2
size_flags_vertical = 2
color = Color( 0.287293, 0.886362, 0.122933, 1 )
script = ExtResource( 1 )
[node name="ColorPickerButton6" type="ColorPickerButton" parent="."]
margin_left = 304.0
margin_top = 385.0
margin_right = 400.0
margin_bottom = 449.0
size_flags_horizontal = 2
size_flags_vertical = 2
color = Color( 0.908461, 0, 0.88789, 1 )
script = ExtResource( 1 )
[node name="ColorPickerButton7" type="ColorPickerButton" parent="."]
margin_left = 464.0
margin_top = 385.0
margin_right = 560.0
margin_bottom = 449.0
size_flags_horizontal = 2
size_flags_vertical = 2
color = Color( 0, 0.283703, 0, 1 )
script = ExtResource( 1 )
[node name="ColorPickerButton8" type="ColorPickerButton" parent="."]
margin_left = 624.0
margin_top = 385.0
margin_right = 720.0
margin_bottom = 449.0
size_flags_horizontal = 2
size_flags_vertical = 2
color = Color( 0, 0, 0.178211, 1 )
script = ExtResource( 1 )