I am using the following variable to set a reference to a Level asset in the editor.
UPROPERTY(EditDefaultsOnly, Category = "Maps")
FStringAssetReference Mission10;
This works but the drop down list all assets in the project. I would like to restrict it to a list of level assets only. I tried the following:
UPROPERTY(EditDefaultsOnly, Category = "Maps", meta = (MetaClass = "Level"))
and
UPROPERTY(EditDefaultsOnly, Category = "Maps", meta = (AllowedClasses = "Level"))
But neither of these seem to be working. The list shows either everything or nothing at all. What specifiers do I need to use?