9 lines
161 B
GDScript
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
|