Thanks for you reply. I think I don’t see them because I derived from Actor, not ActorComponent.
In BeginPlay I have:
if (RightHandWeaponClass)
{
RightHandWeapon = GetWorld()->SpawnActor<AWeaponActor>(RightHandWeaponClass, WeaponTransform, SpawnParameters);
RightHandWeapon->MeshComp->AttachToComponent(GetMesh(), AttachmentTransformRules, "RightHandSocket");
}
if (LeftHandWeaponClass)
{
LeftHandWeapon = GetWorld()->SpawnActor<AWeaponActor>(LeftHandWeaponClass, WeaponTransform, SpawnParameters);
LeftHandWeapon->MeshComp->AttachToComponent(GetMesh(), AttachmentTransformRules, "LeftHandSocket");
}
But for me is not clear why I can’t chose weapon here and must add special filed for it: