Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
大家好,我想知道我们可以在 Android 纸板中使用/使用什么样的输入,我知道纸板上有磁铁,但还有别的吗?
为了允许用户与用户界面进行交互,例如在游戏菜单、HUD 元素等中,您可以在屏幕中央放置一个小点,使其成为摄像机的子节点,这样当您转头时它就不会移动。
您可以通过此模仿简单的鼠标功能。每当点与 UI-Element 或 object 重叠时,您就会启动一个计时器并放置一些动画。如果该点持续重叠 2-4 秒,则表示您单击该位置。
这将帮助您理解我在说什么:www.youtube.com/watch?v=FSUjjCS6UPc
除此之外,与 VR 内容交互的最佳方式是使用游戏控制器。