Add component to actor?
Working on a plugin, and am wondering if anyone knows how to add a component to an AActor from C++? I saw many ways to do this procedurally and dynamically during runtime, but no examples outside of runtime. Specifically, how would I use FObjectInitializer::CreateDefaultSubobject when a) Not in runtime (during editor mode) and b) the class doing the component creation is not the class I want to add the component to (Ive simply got a reference to the world actor where I want to add a reference)
asked Jun 07 '16 at 05:17 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here