调整细节
This commit is contained in:
@@ -29,7 +29,7 @@ DynMaterial(nullptr), DynCalMaterial(nullptr)
|
||||
PrimaryActorTick.bCanEverTick = true;
|
||||
RootComponent = CreateDefaultSubobject<USceneComponent>(TEXT("Root"));
|
||||
StaticMeshComp = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("StaticMeshComponent"));
|
||||
StaticMeshComp->AttachToComponent(RootComponent,FAttachmentTransformRules::SnapToTargetIncludingScale);
|
||||
//StaticMeshComp->AttachToComponent(RootComponent,FAttachmentTransformRules::SnapToTargetIncludingScale);
|
||||
//RootComponent = StaticMeshComp;
|
||||
}
|
||||
void AIronBlock::PostInitProperties()
|
||||
|
||||
Reference in New Issue
Block a user