ovr-utils/src/addons/godot-openvr/scenes/ovr_shader_cache.gd

10 lines
220 B
GDScript

extends Spatial
var countdown = 2
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
countdown = countdown - 1
if countdown == 0:
visible = false
set_process(false)