鼠标接口

关于鼠标接口的概述及详解。

Windows
MacOS
Linux

MouseInterfaceTitle.png

内容示例中的 鼠标接口 地图展示了如何在游戏中使用鼠标或触摸输入。本关卡在游戏和执行方面非常简单,它包含了一排球体,而在其后方有一个立方体来回运动。

MouseInterfaceGame.png

互动可细分为下文所示部分:

  • 将鼠标悬停在任意球体上将会变更其材质——这主要展示的是鼠标停留(悬停)功能。

  • 点击并拖曳球体会使其跟随鼠标指针,使得球体在关卡中到处移动。 对于移动设备的触摸事件同样如此。

  • 点击背景中的盒体将会播放和停止Matinee序列,而这会造成盒体在球体后方来回移动。

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback