mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-24 10:20:24 +01:00
22 lines
374 B
Text
22 lines
374 B
Text
|
[gd_scene load_steps=2 format=2]
|
||
|
|
||
|
[sub_resource type="GDScript" id=1]
|
||
|
script/source = "tool
|
||
|
extends Timer
|
||
|
|
||
|
func _enter_tree():
|
||
|
start()
|
||
|
|
||
|
func _on_timeout():
|
||
|
get_tree().quit(0)
|
||
|
"
|
||
|
|
||
|
[node name="Timer" type="Timer"]
|
||
|
process_mode = 0
|
||
|
wait_time = 10.0
|
||
|
one_shot = true
|
||
|
autostart = true
|
||
|
script = SubResource( 1 )
|
||
|
|
||
|
[connection signal="timeout" from="." to="." method="_on_timeout"]
|