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/util.gd

6 lines
199 B
GDScript

const DebugLabel = preload("res://util/DebugLabel.gd")
static func display(ref, s):
var label = ref.get_tree().root.find_node("DebugLabel", true, false) as DebugLabel
if label:
label.display(s)