[gd_scene load_steps=9 format=2]

[ext_resource path="res://ui/gui_3d.gd" type="Script" id=1]
[ext_resource path="res://textures/ui/bean.png" type="Texture" id=2]
[ext_resource path="res://textures/materials/Stone_rockWall_02_Base_Color.jpg" type="Texture" id=3]
[ext_resource path="res://ui/BeanLabel.gd" type="Script" id=4]

[sub_resource type="QuadMesh" id=1]
size = Vector2( 3, 2 )

[sub_resource type="ViewportTexture" id=2]
viewport_path = NodePath("Viewport")

[sub_resource type="SpatialMaterial" id=3]
resource_local_to_scene = true
flags_transparent = true
flags_unshaded = true
flags_albedo_tex_force_srgb = true
albedo_texture = SubResource( 2 )

[sub_resource type="BoxShape" id=4]
extents = Vector3( 1.5, 1, 0.05 )

[node name="GUIPanel3D" type="Spatial"]
script = ExtResource( 1 )

[node name="Viewport" type="Viewport" parent="."]
size = Vector2( 205, 155 )
hdr = false
usage = 0
render_target_v_flip = true
render_target_update_mode = 3

[node name="GUI" type="Control" parent="Viewport"]
mouse_filter = 1

[node name="TextureRect" type="TextureRect" parent="Viewport/GUI"]
margin_right = 512.0
margin_bottom = 512.0
texture = ExtResource( 3 )
stretch_mode = 2

[node name="VBoxContainer" type="VBoxContainer" parent="Viewport/GUI"]
margin_right = 40.0
margin_bottom = 40.0
size_flags_horizontal = 4
size_flags_vertical = 3

[node name="TextureRect" type="TextureRect" parent="Viewport/GUI/VBoxContainer"]
margin_left = 2.0
margin_right = 98.0
margin_bottom = 96.0
size_flags_horizontal = 4
size_flags_vertical = 0
texture = ExtResource( 2 )

[node name="Label" type="Label" parent="Viewport/GUI/VBoxContainer"]
margin_top = 100.0
margin_right = 101.0
margin_bottom = 162.0
text = "0/60"
align = 1
script = ExtResource( 4 )

[node name="Quad" type="MeshInstance" parent="."]
mesh = SubResource( 1 )
material/0 = SubResource( 3 )

[node name="Area" type="Area" parent="Quad"]
input_capture_on_drag = true
collision_layer = 2

[node name="CollisionShape" type="CollisionShape" parent="Quad/Area"]
shape = SubResource( 4 )
