7 : Super(ObjectInitializer)
9 PrimaryActorTick.bCanEverTick =
true;
12 static ConstructorHelpers::FObjectFinder<UStaticMesh> ValveMeshFinder(
13 TEXT(
"StaticMesh'/PixoCore/Meshes/InteractableObjects/SM_Valve_Top.SM_Valve_Top'"));
14 UStaticMesh* ValveMesh = ValveMeshFinder.Object;
16 Valve = CreateDefaultSubobject<UVRDialComponent>(TEXT(
"Valve"));
17 SetRootComponent(
Valve);
18 Valve->SetStaticMesh(ValveMesh);
20 TextRenderComp = CreateDefaultSubobject<UTextRenderComponent>(
"TextRender");