UE_LOGFMT(LogTemp,Display,"CaveSetup: Spawned Actor {Actor} on the Cave and attached it.",
if(constautoWorld=GetWorld()){
constautoActor=World->SpawnActor(ActorClass);
Actor->AttachToActor(this,FAttachmentTransformRules::SnapToTargetNotIncludingScale);UE_LOGFMT(LogTemp,Display,"CaveSetup: Spawned Actor {Actor} on the Cave and attached it.",
Actor->GetName());
}
}
// Apply the DTrack LiveLink Preset. Only do this if we are the primaryNode