Changed to vehicle sensor instead of single sensor types

This commit is contained in:
2026-07-04 23:49:20 -06:00
parent 55522fc6fc
commit 10e9a0f5df
147 changed files with 523 additions and 8763 deletions
+10 -1
View File
@@ -1,6 +1,10 @@
extends BaseWidgetNode
class_name NetworkWidgetNode
var network_timer = 0.
static var timer_1 = 1.
var label: Node
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
@@ -13,7 +17,12 @@ func _ready() -> void:
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
var label = get_node("Label")
network_timer += delta
if network_timer < timer_1:
return
network_timer = 0
if label == null:
return
var label_text: String = ''
for address in IP.get_local_addresses():
label_text += address + '\n'