UPackageTools::IsSingleAssetPackage

Checks if the package has only one asset which shares its name

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/PackageTools.h

Include

#include "PackageTools.h"

Source

/Engine/Source/Editor/UnrealEd/Private/PackageTools.cpp

Syntax

static bool IsSingleAssetPackage
(
    const FString & Package
)

Remarks

Checks if the package has only one asset which shares its name

Returns

true if the package has only one asset which shares the name of the package

Parameters

Parameter

Description

Package

The package to check

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss