AssetDatabase.GenerateUniqueAssetPath

public static string GenerateUniqueAssetPath(string path);

Description 描述

Creates a new unique path for an asset.

All paths are relative to the project folder, for example: "Assets/MyTextures/hello.png".