I want to modify a UPaperTileMap asset passed by reference and then save it. This asset is already created using the editor.
void ModifyAndSave(UPaperTileMap* tm) {
// modify it
// tm->AddNewLayer( blalblalba..)
// Now, how to save it??
}
I searched the UE source… but don’t know exactly where and how it saves it.
Thank you!