Доработка. Добавлена возможность включать помеху по сектору.

This commit is contained in:
MaD_CaT
2024-02-16 13:54:23 +03:00
parent 54e5f1bf37
commit 123abce741
11 changed files with 228 additions and 155 deletions

View File

@@ -23,10 +23,9 @@ var save_modulate: Color
$button.set_disabled(val)
$back.disabled = val
if val:
save_modulate = $state.modulate
$state.modulate *= Color(1.0, 1.0, 1.0, 0.5)
$state.modulate.a = 0.5
else:
$state.modulate = save_modulate
$state.modulate.a = 1.0
get: return $button.disabled