Is there any to restrict EditDefaultsOnly UProperty of an EditInLineNew UObject class only show on blueprint class default panel but not to show on c++ uproperty with Instanced Specifier

Let say i’ve an class that inherited from UObject with EditInlineNew Specifier

UCLASS( Abstract, Blueprintable, BlueprintType, EditInlineNew )
class S1_API US1InventoryItemType : public UObject
{
	GENERATED_BODY()

public:
	UPROPERTY( EditDefaultsOnly, BlueprintReadOnly )
	FText TypeDisplayName;
};

And it would be used as a property with Instanced specifier in different class

	UPROPERTY( EditDefaultsOnly, BlueprintReadOnly, Instanced, Category = "Default" )
	TObjectPtr<US1InventoryItemType> ItemType;

But now the property would be showed on both blueprint class default and the instanced property on certain class which doesn’t be intended, is there any way to hide the certain properties from instanced specified property?

1 Like