GodotComponentTest/scenes/HexTile3D.tscn

37 lines
1.2 KiB
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://scenes/HexTile3D.gd" type="Script" id=1]
[ext_resource path="res://materials/DeepGrassTile.tres" type="Material" id=2]
[sub_resource type="CylinderMesh" id=6]
top_radius = 0.5
bottom_radius = 0.5
height = 10.0
radial_segments = 6
rings = 1
[sub_resource type="CylinderShape" id=5]
height = 1.0
radius = 0.5
[node name="HexTile3D" type="Spatial"]
transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 0, 0, 0 )
script = ExtResource( 1 )
[node name="Mesh" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5, 0 )
mesh = SubResource( 6 )
material/0 = ExtResource( 2 )
[node name="Area" type="Area" parent="Mesh"]
monitoring = false
monitorable = false
[node name="CollisionShape" type="CollisionShape" parent="Mesh/Area"]
transform = Transform( 1, 0, 0, 0, 10, 0, 0, 0, 1, 0, 0, 0 )
shape = SubResource( 5 )
[connection signal="input_event" from="Mesh/Area" to="." method="_on_Area_input_event"]
[connection signal="mouse_entered" from="Mesh/Area" to="." method="_on_Area_mouse_entered"]
[connection signal="mouse_exited" from="Mesh/Area" to="." method="_on_Area_mouse_exited"]