Color rework

This commit is contained in:
R34nd0 2024-01-14 14:42:23 +05:00
commit 2b527c9b2e
15 changed files with 73 additions and 16 deletions

View file

@ -36,7 +36,7 @@ func _process(_delta):
if hull.hp < 0: destroy()
func changeinterfacecolor():
$GUI/Interface.modulate = modulate
$GUI/Interface.modulate = material.get_shader_parameter('color')
func destroy():
hull.hp = hull.max_hp