Not sure if this is intended but here is my current code and some commented out code of other similar attempts.
The code is checking for when a bool is changed in editor and then uses that bool to determine if I make a StaticMeshComponent or a DestructibleMeshComponent.
The expected behavior is to have the on ecomponent show up in the editor. Instead it only seems to kind of show me what is going on once I place the object in the world as seen with these two pictures one
Checked Is Destructible Prop
Unchecked Is Destructible Prop
As you can see once placed in the world I’m able to give it a static mesh or destructible but I’m trying to achieve this without having to place in the world.
So I’m confused as to why I don’t see it in the blueprint component list of the Actor?