I need to make calculations based on the components that I added to child Blueprint. Then I want to set default values for this blueprint.
For example, I have the following components:
And I need to save all the static meshes that they use in the “Some array”
I tried to use functions:
**“PostEditChangeProperty”, “PostInitProperties” **- during the excitement, the components did not have time to initialize. And the variable is BlueprintCreatedComponents == 0;
I also tried to use** “PostInitializeComponents”** - the components were initialized, but the default value does not change in this function.
Does anyone know how to do this?