Download

TAssetPtr<UWorld> UPROPERTY()

Hi there,

Dunno if possible but in my game i have actors that define random battle encounter zones, i would like to have a UPROPERTY() inside them that is TAssetPtr<UWorld> so i could just browse maps and select one instead of having to write map name manually. The only problem with that is that i can’t find a way to either load the map with that property or get the map name from it.

Any idea on how to acheive it in c++?

Best Regards
ZuiljiN