关于ActorComponent中TickComponent的使用
我在TickComponent是发现重写后的TickComponent在运行时并没有起作用,查阅了官方文档说TickComponent的使用要满足如下要求:Only executes if the component is registered, and also PrimaryComponentTick.bCanEverTick must be set to true.
后面的PrimaryComponentTick.bCanEverTick 我已经设置过了,请问前面的注册是什么意思?该如何操作?
mknmknmk 发表于 2017-5-1 15:52
https://forums.unrealengine.com/showthread.php?52410-What-is-the-correct-way-to-create-and-add-compo ...
我看了一下,里面的代码是针对的通过代码生成的组件进行注册,但是我的组件是通过蓝图添加的,请问这该怎么做? 试一下activate component
页:
[1]