diff options
author | chai <chaifix@163.com> | 2021-08-29 13:22:23 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-08-29 13:22:23 +0800 |
commit | d88698a454fbfe306bd0142660172bdd6e93ecf3 (patch) | |
tree | ed14d90c20c351feca9b9acfecc7f00e63137544 /Assets/Scripts/Input/InputManager.cs | |
parent | de78537f8edc6cb162ba58520956255f7e53769d (diff) |
*misc
Diffstat (limited to 'Assets/Scripts/Input/InputManager.cs')
-rw-r--r-- | Assets/Scripts/Input/InputManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Assets/Scripts/Input/InputManager.cs b/Assets/Scripts/Input/InputManager.cs index 62fd5f91..72f5cba2 100644 --- a/Assets/Scripts/Input/InputManager.cs +++ b/Assets/Scripts/Input/InputManager.cs @@ -108,7 +108,8 @@ public class InputManager : SingletonMB<InputManager> return false;
}
}
- m_CommandQueue.RemoveRange(count - keys.Length, keys.Length);
+ //m_CommandQueue.RemoveRange(count - keys.Length, keys.Length);
+ m_CommandQueue.Clear();
return true;
}
|