This repository has been archived on 2025-09-12. You can view files and clone it, but cannot push or open issues or pull requests.
slavic-game-jam-2020/util/DebugLabel.gd

13 lines
164 B
GDScript

extends Label
var buffer: String = ""
func _ready():
text = ""
func _process(_delta):
text = buffer
buffer = ""
func display(s: String):
buffer += s + "\n"