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

@ -6,7 +6,7 @@ func changeitemscolor():
var items = get_children()
var ship = get_tree().current_scene.ship
for item in items:
item.modulate = modulate
#item.modulate = modulate
if item.material:
item.material.set_shader_parameter("color",modulate)
if faction: