摘要:
这里我们创建一个按钮,通过保存按钮的Slot属性到FOverlaySolt中,通过点击该按钮的事件改变按钮的Slot属性,从而改变按钮自身的位置 头文件中定义一个事件和一个FOverlaySlot SSlAiMenuHUDWidget.h #include "Widgets/SOverlay.h" 阅读全文
posted @ 2021-07-23 17:48
索智源
阅读(502)
评论(0)
推荐(0)
摘要:
修改主菜单布局,增加菜单标题与左右侧小组件 首先创建菜单栏的中央UI 添加菜单指针到头文件 SSlAiMenuHUDWidget.h #include "CoreMinimal.h" #include "Widgets/SCompoundWidget.h" #include "Widgets/SOv 阅读全文
posted @ 2021-07-23 11:52
索智源
阅读(625)
评论(0)
推荐(0)


浙公网安备 33010602011771号