I am trying to set the static mesh automatically (automated script) for all the components in Blueprint class ,what ever blueprint I select through scripted actions.
I am able to cast selected blueprint class to actor class. But I am not able to create object for actor to make use of GetComponentsByClass.
AS part of it, I am trying SpawnActorFromClass , but not able to find that function in Blueprint scripting… I am not sure if there is a better route to get the object from actor class which is not placed in the world
Could anyone help me with this