Hide Class from TSubclassOf<>

Simple enough question. Outside of making a class abstract, is there any way to hide it in the TSubclassOf<> UPROPERTY drop downs in the editor? i.e I have a subclass of UCapsuleComponent that I’m using outside of the editor, and I don’t want it to appear as a choice for actors which get to choose a Primitive Component class from a drop down.

As of 4.14 it looks like you can mark blueprint classes abstract, which also hides them from class dropdowns!

1 Like

You can use HideDropdown as class specifier.

I.E:.

UCLASS(HideDropdown)
class UGameButton : public UUserWidget
{
	GENERATED_BODY()

public:

protected:

private:

};
3 Likes