I am trying to add a static mesh component to an actor.
I have a simple actor component that does this, however, the new component doesn’t show in the hierarchy of the actor.
But when I use the “Add” component button on the details pane it does appear in the hierarchy.
in addition, whenever I rerun the construction script on my actor (by moving it) the component is destroyed…this is not the case when using the “Add” button.
How can I create a permanent actor component that appears in the hierarchy?
You can use Subobject Data Subsystem to add components with EditorUtilityWidget or EditorUtilityBlueprint. It’s a more complex method that allows you to manage components in the blueprint and outliner. However, it requires some skills.
By using subobject, it is possible to create components with custom events. But how do I control the properties of that component? I am in the process of moving the ISM data in A and B to C. I created as many isms in C as the number of components in A and B, but I cannot use them because only the default values are imported.