23 lines
642 B
GDScript
23 lines
642 B
GDScript
extends Node3D
|
|
|
|
var MAC_FROM = 0;
|
|
var MAC_TO = 0;
|
|
var IP_FROM = "0.0.0.0";
|
|
var IP_TO = "0.0.0.0";
|
|
var DATA = ""
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
$InfoCard/MAC_FROM_label.text = str("MAC From: ",MAC_FROM)
|
|
$InfoCard/MAC_TO_label.text = str("MAC To: ",MAC_TO)
|
|
$InfoCard/IP_FROM_label.text = str("IP From: ",IP_FROM)
|
|
$InfoCard/IP_TO_label.text = str("IP To: ",IP_TO)
|
|
$InfoCard/DATA_label.text = ""
|
|
if DATA != "":
|
|
$InfoCard/DATA_label.text = str("Data: ", DATA)
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta: float) -> void:
|
|
pass
|