Code cleanup.

This commit is contained in:
2022-11-21 18:16:12 +08:00
parent 145c0ce6c8
commit e5d6e549bd
8 changed files with 9 additions and 15 deletions

View File

@@ -11,8 +11,7 @@ namespace Cryville.Common.Unity.Input {
typeof(UnityMouseHandler),
typeof(UnityTouchHandler),
};
// TODO set private
public readonly List<InputHandler> _handlers = new List<InputHandler>();
readonly List<InputHandler> _handlers = new List<InputHandler>();
readonly Dictionary<Type, InputHandler> _typemap = new Dictionary<Type, InputHandler>();
readonly Dictionary<InputHandler, double> _timeOrigins = new Dictionary<InputHandler, double>();
readonly object _lock = new object();