AssetDatabase.CopyAssetstatic function CopyAsset (path : string, newPath : string) : boolDescriptionDuplicates the asset at path and stores it at newPath All paths are relative to the project folder. Like: "Assets/MyTextures/hello.png" |
|
||||
| Scripting > Editor Classes > AssetDatabase | ||||
AssetDatabase.CopyAssetstatic function CopyAsset (path : string, newPath : string) : boolDescriptionDuplicates the asset at path and stores it at newPath All paths are relative to the project folder. Like: "Assets/MyTextures/hello.png" |