GodotComponentTest/scenes/HexTile3D.tscn

34 lines
1008 B
Plaintext
Raw Normal View History

2022-08-25 15:33:44 +02:00
[gd_scene load_steps=5 format=2]
[ext_resource path="res://scenes/HexTile3D.gd" type="Script" id=1]
[sub_resource type="CylinderMesh" id=6]
top_radius = 0.5
bottom_radius = 0.5
height = 1.0
radial_segments = 6
rings = 1
[sub_resource type="SpatialMaterial" id=4]
albedo_color = Color( 0.211765, 0.568627, 0.0666667, 1 )
roughness = 0.0
[sub_resource type="CylinderShape" id=5]
radius = 0.5
height = 1.0
[node name="HexTile3D" type="MeshInstance"]
transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 0, -0.5, 0 )
mesh = SubResource( 6 )
material/0 = SubResource( 4 )
script = ExtResource( 1 )
[node name="Area" type="Area" parent="."]
[node name="CollisionShape" type="CollisionShape" parent="Area"]
shape = SubResource( 5 )
2022-08-25 17:06:26 +02:00
[connection signal="input_event" from="Area" to="." method="_on_Area_input_event"]
2022-08-25 15:33:44 +02:00
[connection signal="mouse_entered" from="Area" to="." method="_on_Area_mouse_entered"]
[connection signal="mouse_exited" from="Area" to="." method="_on_Area_mouse_exited"]