This repository has been archived on 2025-09-12. You can view files and clone it, but cannot push or open issues or pull requests.
ld49/MouseHoverExample.tscn
2021-10-03 01:17:08 +01:00

27 lines
869 B
Text

[gd_scene load_steps=4 format=2]
[ext_resource path="res://MouseHover.gd" type="Script" id=1]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.962701, 0.199491, 0.436005 )
[sub_resource type="SphereMesh" id=2]
[node name="Spatial" type="Spatial"]
script = ExtResource( 1 )
[node name="Area" type="Area" parent="."]
[node name="CollisionShape" type="CollisionShape" parent="Area"]
transform = Transform( 0.273076, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
shape = SubResource( 1 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2.43911 )
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 0.187039, 0, 0, 0, 0.187039, 0, 0, 0, 0.187039, 0, 0, 0 )
mesh = SubResource( 2 )
material/0 = null
[connection signal="mouse_entered" from="Area" to="." method="_on_Area_mouse_entered"]