Then it will only show blueprint interfaces in the default section of the blueprint, but if you do a set VariableInterface in the blueprint graph, it will show all interfaces.
I don’t know for the latest version. But in version 4.12 you could not store interface as variable like this.
You had to use TScriptInterface<IYourInterface> or to store your object as a UObject and then cast it in IYourInterface
but TScriptInterface is pointer type of variable, not class variable to select which interface to use.
Also TSubclassOf will not show interfaces objects.
Found solution but AllowedClasses won’t work so you will see all objects (including interfaces)
UPROPERTY(Category = Blackboard, EditDefaultsOnly, meta = (AllowAbstract = “1”, AllowedClasses = “UInterface”, ExactClass = false))
UClass* BaseClass;
edit:
TSublcass is working as well:
UPROPERTY(Category = Blackboard, EditDefaultsOnly, meta = (AllowAbstract = “1”, AllowedClasses = “UInterface”, ExactClass = false))
TSubclassOf Asd;