Edit member variables assgined by TSubclassOf at BP class defaults?

I’m currently developing simple ablity system for teammates.


The problem is, I can assign class, but cannot edit variables from BP editor.
I can use simple BP classes to define values of member variable, but our skill system is bit complex, so I think that’s not a good idea.

Any ideas or improvements about this?

What I want is functionality like this:


To edit variables in blueprint you need to use: BlueprintReadWrite


UPROPERTY(EditAnywhere, BlueprintReadWrite)
int32 MyValue;


int32 MyValue; you can replace it with any variable

with EditAnywhere and BlueprintReadWrite you can edit your variables from the editor and in the blueprints.

After digging some engine code, I could do what I wanted.


The trick is set target class as EditInlineNew, and member variable as Instanced and pointer, not TSubclassOf.