A quick Example:
//Defining the name of the item
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Fashion Items Related")
FText Name; // can be declared without a pointer
//Defining the icon of the item
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Fashion Items Related")
UTexture2D* Icon;//can't be declared without a pointer
I can’t declare UTexture2D Icon;
is logically fine, but but declaring FText Name;
is possible which is not fine logically, why?