Synced
AssetEditor.ValidateRename
Section titled “AssetEditor.ValidateRename”
- Validates a requested asset move before the AssetPipeline transaction begins.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Assets
Declaration
Section titled “Declaration”public virtual Inno.Editor.Assets.AssetOperationValidation Inno.Editor.Assets.AssetEditor.ValidateRename(Inno.Editor.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.