Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > UPackageTools
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/PackageTools.h |
Include | #include "PackageTools.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/PackageTools.cpp |
static UPackage * FindOrCreatePackageForAssetType
(
const FName LongPackageName,
UClass * AssetClass
)
Remarks
Find or create a package at the desired path If a package already exist but was made for another type of asset, this function will create another one with a modified unique name
Parameters
Name | Description |
---|---|
LongPackageName | The package path in unreal asset path |
AssetClass | The class of asset the package should be for. |