Color rework
This commit is contained in:
parent
0dd3628ce1
commit
2b527c9b2e
15 changed files with 73 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue