【问题标题】:Unity 2019.3.11.f1 + Unity Input System 1.0.0 + Unity Remote 5 + iPhone 8 touch screen not workingUnity 2019.3.11.f1 + Unity 输入系统 1.0.0 + Unity Remote 5 + iPhone 8 触摸屏不工作
【发布时间】:2020-09-29 21:35:18
【问题描述】:

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

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

【问题讨论】:

    标签: unity3d


    【解决方案1】:

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

    输入系统有望在未来与 Unity Remote 5 配合使用。

    【讨论】:

    • 我不会屏住呼吸,他们不是刚刚宣布遥控器被罐头了吗?
    • 我没有。我刚刚切换到好的旧 Input.GetTouch(0) 并且效果很好。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-12-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-09-11
    相关资源
    最近更新 更多