Hi. I create a particle system component and setup property “Template” of this component in C++ constructor. When I create blueprint derived from this class Template in blueprint is empty. What is the problem ? Why Template is empty when I setup it in c++ ?
static ConstructorHelpers::FObjectFinder<UParticleSystem> FireContainer(TEXT("ParticleSystem'/Game/FXVarietyPack/Particles/P_ky_fireBall'"));
UParticleSystem* fireSystem = FireContainer.Object;
FireSystem = CreateDefaultSubobject<UParticleSystemComponent>(TEXT("FireSystemComponent"));
FireSystem->Template = fireSystem;