I would like to override the default class used for drag and drop in the editor for Static Meshes.
Right now when you drag and drop a Static Mesh asset into the scene it will create a StaticMeshActor using that static mesh asset.
I want to use a C++ Class which inherits from StaticMeshActor, let’s call it MyStaticMeshActor and make MyStaticMeshActor the default class for Static Mesh assets that are added to the scene using drag and drop operations.
As it is now, I have to add MyStaticMeshActor to the scene and select the static mesh I wish to use from the properties, this also has the disadvantage of having the default name being MyStaticMeshActor#, which makes for more work in renaming each actor used.
You should just be able to create your own UActorFactory-derived class (inside an editor module) and give it a higher priority than the default static mesh one has.
Thank you I did not know that!
What I just ended up doing was creating a Toolbar Button Plugin and adding this into PluginButtonClicked()