25 lines
492 B
GDScript
25 lines
492 B
GDScript
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)
|