Доработка. Мигание целей при обновлении.

This commit is contained in:
MaD_CaT
2024-08-09 10:41:07 +03:00
parent bae7a949e4
commit 8598f1bdd1
6 changed files with 24 additions and 4 deletions

View File

@@ -23,3 +23,7 @@ func _on_bip_gui_input(event):
if selected:
signaller.emit_signal('rto_threat_unsel', name.to_int())
func update():
$bip.material.set('shader_parameter/tick_update', float(Time.get_ticks_msec()/1000))

View File

@@ -8,7 +8,7 @@
shader = ExtResource("2_rt0la")
shader_parameter/color = Color(0.972549, 0.12549, 0.411765, 1)
shader_parameter/color_up = Color(1, 1, 1, 1)
shader_parameter/tick_update = 0
shader_parameter/tick_update = 0.0
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_w5pye"]