UI相关教程:HUD、UMG和Widget

转自:http://aigo.iteye.com/blog/2258612

  • 蓝图脚本来处理

==================================================

用UMG制作游戏中的物品栏(背包)-V4.8,观看需要爬梯子(这个讲的算是目前我看过的UMG教程最完整最详细的,推荐)

https://wiki.unrealengine.com/Videos/Player?series=PLZlv_N0_O1gZalvQWYs8sc7RP_-8eSr3i&video=r4tltrLLVuQ

优酷地址,但是没有1080P:http://v.youku.com/v_show/id_XMTQxOTkxNjk1Ng==.html 

用UMG制作游戏中的物品栏(背包)-V4.7,观看需要爬梯子

https://wiki.unrealengine.com/Videos/Player?series=PLZlv_N0_O1gZo6zXTHGGSH8gxaA7a_zCt

UMG UI Designer

https://docs.unrealengine.com/latest/INT/Engine/UMG/index.html

UMG UI Designer User Guide

https://docs.unrealengine.com/latest/INT/Engine/UMG/UserGuide/index.html

Styling属性说明

https://docs.unrealengine.com/latest/INT/Engine/UMG/UserGuide/Styling/index.html

动态创建一个可滑动可点击的button列表

https://wiki.unrealengine.com/UMG,_Create_Scrollable_List_of_Clickable_Buttons_From_Dynamic_Array

如何实现unity中的OnGUI功能

https://wiki.unrealengine.com/HUD:_Unity_3D_OnGUI_Remake

Extend UserWidget for UMG Widgets

https://wiki.unrealengine.com/Extend_UserWidget_for_UMG_Widgets

  • C++编码来处理

============================================

UMG, Referencing UMG Widgets in Code(推荐)

https://wiki.unrealengine.com/UMG,_Referencing_UMG_Widgets_in_Code

[TUTORIAL/SNIPPET] Creating a UMG Widget in C++, and delegate example.

https://forums.unrealengine.com/showthread.php?52773-Tutorial-Snippet-Creating-a-UMG-Widget-in-C-and-delegate-example

How To Draw A Health Bar and Load Textures with C++

https://www.youtube.com/watch?v=jPo-LID9wUY

Coding a Canvas HUD

https://www.youtube.com/watch?v=yCqsbXS9yRg

HUD, Canvas, Code Sample of 800+ Lines, Create Buttons & Draw Materials

https://wiki.unrealengine.com/HUD,_Canvas,_Code_Sample_of_800%2B_Lines,_Create_Buttons_%26_Draw_Materials

原文地址:https://www.cnblogs.com/sevenyuan/p/7728270.html