diff --git a/Assets/Cryville/Common/Unity/Input/InputHandler.cs b/Assets/Cryville/Common/Unity/Input/InputHandler.cs index c142a9e..c8702eb 100644 --- a/Assets/Cryville/Common/Unity/Input/InputHandler.cs +++ b/Assets/Cryville/Common/Unity/Input/InputHandler.cs @@ -74,15 +74,6 @@ namespace Cryville.Common.Unity.Input { } } - public struct InputEvent { - public InputIdentifier Id { get; set; } - public InputVector From { get; set; } - public InputVector To { get; set; } - public override string ToString() { - return string.Format("[{0}] {1} -> {2}", Id, From, To); - } - } - public struct InputVector { public double Time { get; set; } public bool IsNull { get; set; } diff --git a/Assets/Cryville/Common/Unity/Input/InputManager.cs b/Assets/Cryville/Common/Unity/Input/InputManager.cs index f6fa7b8..8d73d50 100644 --- a/Assets/Cryville/Common/Unity/Input/InputManager.cs +++ b/Assets/Cryville/Common/Unity/Input/InputManager.cs @@ -77,4 +77,13 @@ namespace Cryville.Common.Unity.Input { } } } + + public struct InputEvent { + public InputIdentifier Id { get; set; } + public InputVector From { get; set; } + public InputVector To { get; set; } + public override string ToString() { + return string.Format("[{0}] {1} -> {2}", Id, From, To); + } + } }