// Copyright 2017 Mike Fricker. All Rights Reserved. #include "StreetMapRuntime.h" #include "StreetMap.h" #include "EditorFramework/AssetImportData.h" UStreetMap::UStreetMap() { #if WITH_EDITORONLY_DATA if( !HasAnyFlags( RF_ClassDefaultObject ) ) { AssetImportData = NewObject( this, TEXT( "AssetImportData" ) ); } #endif } void UStreetMap::GetAssetRegistryTags( TArray& OutTags ) const { #if WITH_EDITORONLY_DATA if( AssetImportData ) { OutTags.Add( FAssetRegistryTag( SourceFileTagName(), AssetImportData->GetSourceData().ToJson(), FAssetRegistryTag::TT_Hidden ) ); } #endif Super::GetAssetRegistryTags( OutTags ); }