首页 > 解决方案 > Unity 2019.3.11.f1 + Unity 输入系统 1.0.0 + Unity Remote 5 + iPhone 8 触摸屏不工作

问题描述

我正在尝试使用新的 Unity 输入系统,但它不适用于触摸屏。

我在 GitHub https://github.com/Unity-Technologies/InputSystem/tree/develop/ExternalSampleProjects/TouchSamples上找到了示例存储库,并设法使用鼠标输入成功运行示例。PointerInputManager 中的 OnAction 方法为鼠标调用,但在使用 iPhone8 触摸屏时不调用(应用程序在使用 Unity Remote 5 的设备上正确显示)。任何想法如何解决这个问题?

指针输入管理器.cs

标签: unity3d

解决方案


我找到了原因: https ://forum.unity.com/threads/new-input-system-and-unity-remote-5.735968/

输入系统预计将在未来与 Unity Remote 5 一起使用。


推荐阅读