Duplicate Assets ‘n’ Times
Error Handling
The plugin has been written to handle invalid user inputs, i.e. negative values. To demonstrate, a warning box appears when -3 is entered.
TMap Data Structure
It does this by looking up the corresponding prefix in a TMap data structure using the selected object’s class as a key. If more prefixes are required, new entries are added to the TMap.
Duplicating a Blueprint
By default Unreal Engine does not have the capability to create ‘n’ number of duplicates. This C++ plugin therefore allows the Unreal Artist to right-click an asset and specify the desired number of duplciates required. A notification is then printed at the bottom right corner, confirming the successful duplication and the number of duplicates.
Adding Asset Name Prefixes
The plugin re-names the selected assets to include the appropriate prefix. A notification is also printed at the bottom right corner to indicate how many objects have been successfully re-named.
Deleting Unused Assets
To clean the project, this function checks if the asset is referenced in the level, then gives the artist the option to delete it or not. In the below clip we find 3 unused assets out of the 53 assets in the folder.