UE5
06le
这个作者很懒,什么都没留下…
展开
-
Unreal UMG创建动态添加Text的滚动条
先创建一个widget,在widget里放置Scroll Box,Text组件将Scroll Box,Text设置成变量在右上角Graph里写蓝图逻辑创建一个函数,使用Construct Object from Class节点创建一个Text,然后根据输入设置文本,再添加到滚动条,并让滚动条强制滚到底部。自己测试的时候是创建了一个输入事件触发函数:在人物蓝图里创建Widget并显示在屏幕上...原创 2022-07-11 19:56:40 · 869 阅读 · 0 评论 -
UE4 attach规则
/** Keeps current relative transform as the relative transform to the new parent. */ KeepRelative,/** Automatically calculates the relative transform such that the attached component maintains the same world transform. */ KeepWorld,/** Snaps tran原创 2022-01-13 18:30:51 · 2523 阅读 · 1 评论