Inventory hover texture
This commit is contained in:
1 parent
37ab5a4511
commit
80c19824a0
8 files changed
+38
-90
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user