9 lines
156 B
GDScript3
9 lines
156 B
GDScript3
|
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
|