AssetDatabase.GenerateUniqueAssetPath Manual     Reference     Scripting  
Scripting > Editor Classes > AssetDatabase
AssetDatabase.GenerateUniqueAssetPath

static function GenerateUniqueAssetPath (path : String) : String

Description

Creates a new unique path for an asset.

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