Inventory hover texture

This commit is contained in:
2025-09-05 22:59:38 +02:00
parent 37ab5a4511
commit 80c19824a0
8 changed files with 38 additions and 90 deletions

View File

@@ -49,3 +49,9 @@ func set_custom_data(data: Dictionary) -> void:
super.set_custom_data(data)
if custom_data.has("count"):
ESCItemCountManager.new().updateSprite(self)
func _get_inventory_texture_hovered() -> Texture2D:
if inventory_texture_hovered == null:
return _get_inventory_texture()
else:
return inventory_texture_hovered