I create a component that inherit from UPrimitiveComponent in C++, but when i dynamic create it in a class it only visible when i select the class in editor. But if i create the component with CreateDefaultSubobject in construct function it can visible in editor when i didn’t select the class. How can i dynamic create the component in class and i can see it in the editor when i am not select it.
I really need help, if you know how to do please tell me.
Thanks advance.