Synced
AssetEditor.ValidateRename
Section titled “AssetEditor.ValidateRename”
- Validates a requested asset move before the AssetPipeline transaction begins.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Assets
Scope: Editor
Declaration
Section titled “Declaration”public virtual InnoEditor.Assets.AssetOperationValidation InnoEditor.Assets.AssetEditor.ValidateRename(InnoEditor.Assets.AssetEditorContext context, string targetPath)Parameters
Section titled “Parameters”Parameter context: The immutable snapshot of the source entry before the move.
Parameter targetPath: The normalized source-relative destination path.
Returns
Section titled “Returns”A valid result when the transaction may proceed, or a diagnostic describing the rejection.