66 lines
2.2 KiB
Plaintext
66 lines
2.2 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://bsjqdvkt0u87c"]
|
|
|
|
[ext_resource type="Script" path="res://content/ui/components/button/button.gd" id="1_74x7g"]
|
|
[ext_resource type="Material" uid="uid://crycqex1ucj04" path="res://content/ui/components/panel/panel.material" id="2_28wsr"]
|
|
[ext_resource type="Script" path="res://content/ui/components/panel/panel.gd" id="3_skm86"]
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_bu2il"]
|
|
size = Vector2(0.04, 0.04)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_xwopm"]
|
|
resource_local_to_scene = true
|
|
size = Vector3(0.04, 0.04, 0.01)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_bqjii"]
|
|
resource_local_to_scene = true
|
|
size = Vector3(0.04, 0.04, 0.03)
|
|
|
|
[node name="Button" type="Node3D" groups=["ui_focus"]]
|
|
script = ExtResource("1_74x7g")
|
|
label = "Example Text"
|
|
size = Vector3(0.04, 0.04, 0.01)
|
|
|
|
[node name="Body" type="StaticBody3D" parent="." groups=["ui_focus_skip"]]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.005)
|
|
collision_layer = 2
|
|
collision_mask = 0
|
|
|
|
[node name="Panel3D" type="MeshInstance3D" parent="Body"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.005)
|
|
material_override = ExtResource("2_28wsr")
|
|
mesh = SubResource("QuadMesh_bu2il")
|
|
skeleton = NodePath("../..")
|
|
script = ExtResource("3_skm86")
|
|
size = Vector2(0.04, 0.04)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body"]
|
|
shape = SubResource("BoxShape3D_xwopm")
|
|
|
|
[node name="Label" type="Label3D" parent="Body"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.006)
|
|
pixel_size = 0.001
|
|
double_sided = false
|
|
render_priority = 30
|
|
text = "Example Text"
|
|
font_size = 10
|
|
outline_size = 0
|
|
autowrap_mode = 3
|
|
width = 40.0
|
|
|
|
[node name="FingerArea" type="Area3D" parent="." groups=["ui_focus_skip"]]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.015)
|
|
collision_layer = 4
|
|
collision_mask = 0
|
|
monitoring = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="FingerArea"]
|
|
shape = SubResource("BoxShape3D_bqjii")
|
|
|
|
[node name="TouchBody" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.005)
|
|
collision_layer = 4
|
|
collision_mask = 0
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="TouchBody"]
|
|
shape = SubResource("BoxShape3D_xwopm")
|