-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tscn
67 lines (62 loc) · 1.3 KB
/
main.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[gd_scene load_steps=3 format=3 uid="uid://xytvht0yqnld"]
[ext_resource type="Script" path="res://my_tool.gd" id="1_rcosi"]
[sub_resource type="Curve" id="Curve_h7ok3"]
[node name="Node3D" type="Node3D"]
[node name="MyTool" type="Label3D" parent="."]
pixel_size = 0.001
text = "Button click count: 3"
font_size = 64
outline_size = 24
script = ExtResource("1_rcosi")
btn_advanced = [{
"click": Callable(),
"color": "#FF00FF",
"icon": "res://icons/check.svg",
"text": "Custom Icon"
}]
btn_custom_image = [{
"click": Callable(),
"icon": "res://icons/image.png"
}]
btn_editor_icon = [{
"click": Callable(),
"fill": true,
"icon": "Button"
}]
btn_mutiple_buttons = [{
"align": "end",
"click": Callable(),
"color": "success",
"icon": "Play",
"text": "Play"
}, {
"click": Callable(),
"color": "danger",
"icon": "Stop",
"text": "Stop"
}]
btn_align = {
"align": "begin",
"click": Callable(),
"icon": "HBoxContainer",
"text": "Align begin"
}
btn_fill = [{
"click": Callable(),
"fill": false,
"icon": "res://icons/x-expand.svg",
"text": "Expand"
}, {
"text": "Another"
}]
btn_count = {
"click": Callable(),
"text": "Count: 0"
}
btn_compat = {
"click": Callable(),
"icon": "Callable"
}
my_curve = SubResource("Curve_h7ok3")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5)