11 PrimaryComponentTick.bCanEverTick =
false;
86 TArray<UStaticMeshComponent*> StaticMeshes;
88 TArray<USkeletalMeshComponent*> SkeletalMeshes;
94 staticMesh->SetVectorParameterValueOnMaterials(TEXT(
"EmissiveColor"), Color());
98 staticMesh->SetRenderCustomDepth(
false);
100 staticMesh->SetRenderCustomDepth(
true);
113 skeletalMesh->SetRenderCustomDepth(
false);
115 skeletalMesh->SetRenderCustomDepth(
true);