Commit files changed by updated formatting script

This commit is contained in:
Aaron Franke
2020-10-29 02:22:58 -04:00
parent 65c79f0a29
commit a0bdb575f7
6 changed files with 43 additions and 47 deletions

View File

@@ -3,7 +3,7 @@ extends Label
func _process(_delta):
if Input.is_action_just_pressed("toggle_debug"):
visible = !visible
text = "FPS: " + str(Engine.get_frames_per_second())
text += "\nVSync: " + ("on" if ProjectSettings.get_setting("display/window/vsync/use_vsync") else "off")
text += "\nMemory: " + "%3.2f" % (OS.get_static_memory_usage() / 1048576.0) + " MiB"