fmod_Asset_setAssetPath
Set the file path for an FMOD Studio asset relative to the project assets directory. Returns true on success, false on failure.
Instructions
Sets the path of the file the asset refers to, relative to the project assets directory. Returns true if the operation succeeds, or false otherwise. [method · Asset.setAssetPath]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Object to act on: a path (e.g. 'event:/SFX/Hit', 'bank:/Master') or a '{guid}'. | |
| filePath | Yes | The path to move the asset to. |