Exemplo n.º 1
0
 static private void Duplicate()
 {
     File.Copy(
         Selection.activeObject.GetAssetPath(),
         Filename.AddFilenameSuffix(Selection.activeObject.GetAssetPath(), "(copy)")
         );
 }