-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstructure_button.tscn
47 lines (39 loc) · 1.34 KB
/
structure_button.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
[gd_scene load_steps=3 format=3 uid="uid://bueklw4yck6xu"]
[ext_resource type="Script" path="res://StructureButton.gd" id="1_q66xv"]
[sub_resource type="ViewportTexture" id="ViewportTexture_sejjc"]
viewport_path = NodePath("SubViewport")
[node name="StructureButton" type="TextureButton"]
offset_right = 40.0
offset_bottom = 40.0
texture_normal = SubResource("ViewportTexture_sejjc")
script = ExtResource("1_q66xv")
[node name="SubViewport" type="SubViewport" parent="."]
own_world_3d = true
transparent_bg = true
size = Vector2i(64, 64)
[node name="Camera3D" type="Camera3D" parent="SubViewport"]
transform = Transform3D(-0.707107, 0.408607, -0.577096, 0, 0.816138, 0.577858, 0.707107, 0.408607, -0.577096, -2.375, 2.35, -2.375)
projection = 1
size = 2.0
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="SubViewport"]
transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, 0.75, -0.433013, 0, 0, 0)
shadow_enabled = true
[node name="Panel" type="Panel" parent="."]
z_index = -1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="Label" type="Label" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "$1"
horizontal_alignment = 1
vertical_alignment = 2