using System.Diagnostics; using System.Collections; using System.Collections.Generic; using System; using Godot; using Rokojori.Extensions; namespace Rokojori; [RokojoriActionCoreExport] public static class TimeTool { #if ROKOJORI_ACTION_CORE_GD public static float Now() { /* return Time.get_unix_time_from_system() */ GDGlue.CommentToGD(); } #else public static float Now() { return new DateTimeOffset( DateTime.Now ).ToUnixTimeSeconds(); } #endif }