Add Android touch handler.

This commit is contained in:
2023-04-22 21:17:00 +08:00
parent 72a93721f9
commit 6d276c99ac
3 changed files with 104 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ namespace Cryville.Common.Unity.Input {
public class InputManager {
static readonly HashSet<Type> HandlerRegistries = new HashSet<Type> {
typeof(WindowsPointerHandler),
typeof(AndroidTouchHandler),
typeof(UnityKeyHandler<UnityKeyboardReceiver>),
typeof(UnityKeyHandler<UnityMouseButtonReceiver>),
typeof(UnityMouseHandler),