checheche/Robo-Bus-A31-HMI/common/global.gd

25 lines
492 B
GDScript3
Raw Normal View History

2024-12-06 21:22:11 +08:00
extends Node
var scene3d = null
var scene = null
var scene_gui = null
var language = {
"zh":{
"车辆名":"车辆名"
},
"en":{
"车辆名":"Vehicle name"
}
}
var language_mode = ""
func pop_ups(type = "",text = ""):
var POP_UPS = preload("res://gui/pop_ups.tscn").instantiate()
scene_gui.add_child(POP_UPS)
POP_UPS.set_text(type,text)
return POP_UPS
var sub_viewport: SubViewport = null
var sub_viewport_2: SubViewport = null
var loading_state = false
var ndk_statu = float(0)