Godot interaction system init

This commit is contained in:
2026-08-17 20:06:51 +03:00
commit a86839c8cd
53 changed files with 2134 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
extends CanvasLayer
class_name Crosshair
@export var normalTexture: Texture2D
@export var hoverTexture: Texture2D
@onready var normal = $NormalCrosshair
@onready var hover = $HoverCrosshair
func _ready():
normal.texture = normalTexture
hover.texture = hoverTexture
hover.visible = false
func setHover(active: bool):
normal.visible = !active
hover.visible = active