контроль
This commit is contained in:
14
scenes/pribor-uf/pribor_uf.gd
Normal file
14
scenes/pribor-uf/pribor_uf.gd
Normal 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
|
||||
Reference in New Issue
Block a user