Dynamically created component not visible/editable in components window
I am trying to dynamically create and attach a component to my custom component. The issue is the component created does not show in editor, specifically the component window.
As shown in this image, a box collision component is created and attached to UPrimitiveEffectComponent(a custom component I created), but it is not visible in component window.
This image shows NewBlueprint added to the world and the component is selectable but not editable.
The box collision is created when I select BoxCollision as value for CollisionClass.
I override PostLoad in UPrimitiveEffectComponent to spawn a UShapeComponent if CollisionClass is valid as follows
What else do I have to do to make the dynamically created and attached box collision show up in editor for editing?
1) Added captions for attached images.
Set the BlueprintReadWrite in UPROPERTY after the EditAnywhere
answered Apr 23 '19 at 11:11 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here