Update Cryville.Input.

This commit is contained in:
2023-06-06 10:05:02 +08:00
parent 2fe2a40e74
commit 02441eb328
3 changed files with 3 additions and 5 deletions

View File

@@ -97,11 +97,7 @@ namespace Cryville.Input.Unity {
useGUILayout = false;
}
void Update() {
double time = Time.realtimeSinceStartupAsDouble;
foreach (var k in ActiveKeys) {
Feed(k, 0, new InputFrame(time, new InputVector()));
}
Batch(time);
Batch(Time.realtimeSinceStartupAsDouble);
}
}