UAssetTagsSubsystem::AddAssetPtrsToCollection

Add the given assets to the given collection.

Choose your operating system:

Windows

macOS

Linux

References

Module

AssetTags

Header

/Engine/Plugins/Runtime/AssetTags/Source/AssetTags/Public/AssetTagsSubsystem.h

Include

#include "AssetTagsSubsystem.h"

Source

/Engine/Plugins/Runtime/AssetTags/Source/AssetTags/Private/AssetTagsSubsystem.cpp

Syntax

UFUNCTION(BlueprintCallable, Category="AssetTags")
bool AddAssetPtrsToCollection
(
    const FName Name,
    const TArray< UObject * > & AssetPtrs
)

Remarks

Add the given assets to the given collection.

Returns

True if the collection was modified, false otherwise (see the output log for details on error).

Parameters

Parameter

Description

Name

Name of the collection to modify.

AssetPtrs

Assets to add.