diary/system/time/time_singleton.gd
2022-06-05 14:22:08 +02:00

9 lines
161 B
GDScript

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