Hi guys somebody could help me, I create this component, but when I try to access the properties with EditAnywhere, shows nothing, what I’ve do wrong?
void ACharacterPlayer::SetSpheres()
{
float SphereRadius = 15.0f;
FName CollisionProfileName = TEXT("Pawn");
USkeletalMeshComponent* SkMesh = this->GetMesh();
UPROPERTY(EditAnywhere, Category = "Variable")
FName LSphereName = TEXT("LSphereName");
USphereComponent* LHandHitSphere = CreateDefaultSubobject<USphereComponent>(LSphereName);
LHandHitSphere->InitSphereRadius(SphereRadius)
LHandHitSphere->SetCollisionProfileName(CollisionProfileName);
LHandHitSphere->SetupAttachment(SkMesh, "L_Socket");
}
f(Love)
[JM]