Restrict FStringAssetReference to Level assets only
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:
But neither of these seem to be working. The list shows either everything or nothing at all. What specifiers do I need to use?
FStringAssetReference (FSoftObjectPath since 4.18) will also work, "World" label does the magic trick ;)
answered Oct 30 '17 at 11:59 PM
Digi Labs Dan
Follow this question
Once you sign in you will be able to subscribe for any updates here