Skip to content

Commit

Permalink
仅在UE5中使用用GetWPWorldGUID
Browse files Browse the repository at this point in the history
  • Loading branch information
hxhb committed Apr 5, 2024
1 parent 242631b commit dc4b049
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ bool UFlibAssetManageHelper::GetAssetPackageGUID(const FString& InPackageName, F
bool UFlibAssetManageHelper::GetAssetPackageGUID(FAssetDetail& AssetDetail)
{
// for WP
#if UE_VERSION_NEWER_THAN(5,0,0)
if(!GetWPWorldGUID(AssetDetail))
#endif
{
return GetAssetPackageGUID(AssetDetail.PackagePath.ToString(),AssetDetail.Guid);
}
Expand Down Expand Up @@ -221,7 +223,6 @@ FName UFlibAssetManageHelper::GetAssetTypeByPackage(UPackage* Package)
return UFlibAssetManageHelper::GetAssetType(CreateSoftObjectPathByPackage(Package));
}


FAssetDependenciesInfo UFlibAssetManageHelper::CombineAssetDependencies(const FAssetDependenciesInfo& A, const FAssetDependenciesInfo& B)
{
SCOPED_NAMED_EVENT_TEXT("UFlibAssetManageHelper::CombineAssetDependencies",FColor::Red);
Expand Down

0 comments on commit dc4b049

Please sign in to comment.