I can’t undestand how to get Mesh property from my class in component to set it to Character.
And why I cant select Second weapon (not have assets).
APBWeapon.h
...
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Weapon)
USkeletalMesh* weaponMesh;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Weapon)
FName name;
...
WeaponComponent.h
...
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = Weapon)
TSubclassOf<class UAPBWeapon> firstWeapon;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Weapon)
UAPBWeapon* secondWeapon;
...