контроль

This commit is contained in:
danil_tim
2024-12-05 11:14:09 +03:00
parent 8e497521e9
commit 9b0aab78a0

View File

@@ -0,0 +1,14 @@
extends "res://scenes/контроль/прибор.gd"
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
var unit_key = settings.get_unit_key('уарэп-эмс')
var unit_uf = network.units[unit_key]
unit_uf.connect('data_received', on_data_received.bind(unit_uf))
func on_data_received(data, unit_uf):
print_debug(data)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass