Files
PacketsPlease/action_button.tscn
2024-11-20 17:32:55 +01:00

40 lines
1.4 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://kmso2ucsmk7y"]
[ext_resource type="Script" path="res://action_button.gd" id="1_pkx7y"]
[sub_resource type="BoxMesh" id="BoxMesh_8geyn"]
size = Vector3(1, 0.3, 0.1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lubjo"]
albedo_color = Color(1, 0.658824, 1, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_026se"]
size = Vector3(1, 0.3, 0.1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_d0tch"]
albedo_color = Color(0.938424, 0.815071, 0.893946, 0.403922)
[node name="ActionButton" type="Area3D"]
collision_layer = 8192
collision_mask = 8192
script = ExtResource("1_pkx7y")
[node name="Label3D" type="Label3D" parent="."]
text = "Ok"
[node name="buttonshape" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.004, 0, -0.051)
mesh = SubResource("BoxMesh_8geyn")
surface_material_override/0 = SubResource("StandardMaterial3D_lubjo")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.004, 0, -0.051)
shape = SubResource("BoxShape3D_026se")
[node name="highlight" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.008, 0, -0.051)
visible = false
mesh = SubResource("BoxMesh_8geyn")
skeleton = NodePath("../buttonshape")
surface_material_override/0 = SubResource("StandardMaterial3D_d0tch")