UE4 Runtime下动态给Actor添加组件

http://www.v5xy.com/?p=858

UE4的组件分为两种:USceneComponent, UActorComponent


UActorComponent

(NewObject(this)一定要带Outer参数)




可以在编辑器里面查看到这个两个组件已经挂载在Actor下。

posted @ 2017-09-28 16:33  00000000O  阅读(1026)  评论(0编辑  收藏  举报