Fix gyroscope feature
This commit is contained in:
@@ -24,6 +24,11 @@ func goto_scene(path):
|
||||
wait_frames = 1
|
||||
Loading.get_node("ColorRect/CenterContainer/VBoxContainer/ProgressBar").set_max(loader.get_stage_count())
|
||||
|
||||
func gyroscope_enabled():
|
||||
if Input.get_gyroscope():
|
||||
return true
|
||||
else:
|
||||
return false
|
||||
|
||||
func _process(_delta):
|
||||
print("[global#_process]")
|
||||
|
||||
Reference in New Issue
Block a user