Fix gyroscope feature

This commit is contained in:
VAILLANT Jeremy
2021-05-13 13:31:14 +02:00
parent 8915ebf03f
commit 6728ee04ce
4 changed files with 51 additions and 56 deletions
+5
View File
@@ -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]")