How to display parameters of a class in editor?


I have a BP with a public class variable and depending on the class chosen in the editor, I want to display it’s corresponding parameters in the editor. I know it’s not possible to do so if the class is not instanciated but I found an example of what I want to do. In AIPerception, depending on the value of SensesConfig, different parameters are shown to the user in the editor.
How can I achieve that pls ?

Thank you in advance.

The snippet below can solve such case. Use it and create for example several subclasses of UMyObject =)

UCLASS(BlueprintType, EditInlineNew)
class MYPROJECT_API UMyObject : public UObject {

	int32 MyIntProp;

class MYPROJECT_API AMyActor : public AActor {



	UPROPERTY(EditAnywhere, Instanced)
	class UMyObject* InstanciatedProp;

just add the UPROPERTY(EditAnywhere) on top of the remember variable.

Thank you very much for you answer :wink: !!!

Thank you as well ^^