Module |
|
Header |
/Engine/Source/Developer/CollectionManager/Public/ICollectionManager.h |
Include |
#include "ICollectionManager.h" |
bool SaveCollection
(
FName CollectionName,
ECollectionShareType::Type ShareType
)
Save the collection (if dirty) and check it into source control (if under SCC control)
Generally you won't need to save collections manually as the collection manager takes care of that as objects and added/removed, etc. however, you may want to manually save a collection if a previous save attempt failed (and you've since corrected the issue), or if the collection contains redirected object references that you'd like to save to disk.
true if the save was successful. If false, GetLastError will return a human readable string description of the error.
Parameter |
Description |
---|---|
CollectionName |
The collection to save |
ShareType |
The way the collection is shared. |