mirror of
https://github.com/storytold/EventCenterPlugin.git
synced 2026-10-09 00:09:42 +00:00
This spawns it! I can see the mesh (it's unlit)
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user