首页 / 浏览问题 / 组件GIS / 问题详情
supermap for unreal, 注册键盘事件
82EXP 2026年07月10日
InputComponent->BindKey(EKeys::F10, IE_Pressed, this);   

想要注册一个键盘事件,需要继承PlayerController。

超图的PlayerController脚本叫什么名字, ::SetupInputComponent()这个没有搜索到,不知道在哪里加键盘事件?

1个回答

你好
想操控相机的话,可看下c++ 程序里面的CameraControl
切换操作模式,可参考文档快速切换其它操作模式

1,670EXP 2026年07月13日
...