From 5f37f51b51b359f2e8cbc644c184fe284aca025a Mon Sep 17 00:00:00 2001 From: ChocoSwi Date: Thu, 1 Dec 2022 16:08:37 +0900 Subject: [PATCH] fix: use two numbers to send current time --- Runtime/Event.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Runtime/Event.cs b/Runtime/Event.cs index 90f3259..ee37390 100644 --- a/Runtime/Event.cs +++ b/Runtime/Event.cs @@ -11,9 +11,13 @@ namespace SkyHook public struct SkyHookEvent { /// - /// When the key's state was updated. + /// When the key's state was updated(sec). /// - public readonly ulong Time; + public readonly ulong TimeSec; + /// + /// When the key's state was updated(nsec). + /// + public readonly uint TimeNsec; /// /// Whether the key is pressed or released. ///