CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
Loading...
Searching...
No Matches

◆ Duplicate()

Asset Duplicate ( )

Creates a duplicate of the asset with a new, unique file name.

asset.Duplicate();

is short for

asset.SaveAsNew(asset.AssetPath);
Returns
The asset instance of the duplicate.