-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathArrow.tscn
32 lines (21 loc) · 810 Bytes
/
Arrow.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[gd_scene load_steps=3 format=1]
[ext_resource path="res://Arrow.gd" type="Script" id=1]
[ext_resource path="res://ArrowTarget.gd" type="Script" id=2]
[node name="Arrow" type="Node2D"]
script/script = ExtResource( 1 )
target_pos = Vector2( 100, 0 )
target_rotation = 1.5708
[node name="Target" type="Node2D" parent="."]
transform/pos = Vector2( 100, 0 )
script/script = ExtResource( 2 )
[node name="Control" type="Control" parent="Target"]
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = -20.0
margin/top = -20.0
margin/right = 20.0
margin/bottom = 20.0
[connection signal="item_rect_changed" from="." to="." method="_on_target_item_rect_changed"]
[connection signal="input_event" from="Target/Control" to="." method="input_event"]