Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

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".

Did you find this page useful? Please give it a rating: