This spawns it! I can see the mesh (it's unlit)

This commit is contained in:
Brandon Thomas
2021-02-17 04:01:29 -05:00
parent ca789cdf15
commit f440b28979
@@ -20,6 +20,8 @@ ASpawnableActor::ASpawnableActor()
BaseMeshComponent = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("BaseMesh")); BaseMeshComponent = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("BaseMesh"));
BaseMeshComponent->SetupAttachment(RootComponent); BaseMeshComponent->SetupAttachment(RootComponent);
BaseMeshComponent->SetStaticMesh(BaseMesh);
} }
ASpawnableActor::~ASpawnableActor() ASpawnableActor::~ASpawnableActor()