diary/system/time/time_singleton.gd

9 lines
156 B
GDScript3
Raw Normal View History

extends Node
var offset = 0 # This is for debug purposes. (Doing sudden time jumps)
func get_current_time() -> int:
return OS.get_unix_time() + offset