Hey! I am trying to make an array. The problem is that when I go onto blueprint, I cant define the Array (add new Items and customize them, etc.). Anyone know how I can set this up?
struct FInventoryItem
{
GENERATED_USTRUCT_BODY()
bool isUnlocked;
int32 wpKey;
TSubclassOf<class AWeapon*> WeaponClass;
};
UCLASS(config=Game)
class AFPSCharacter : public ACharacter
{
GENERATED_UCLASS_BODY()
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = Inventory)
TArray<FInventoryItem> Items;
}