Version: 2017.3

AssetModificationProcessor.OnWillMoveAsset(string,string)

Switch to Manual

Description

Это вызывается Unity, когда он собирается переместить ассет на диск.

If this is implemented, it allows you to move the asset yourself but do remember to return the correct enum or do some other processing and let Unity move the file The moving of the asset can be prevented by returning AssetMoveResult.FailedMove You should not call any Unity AssetDatabase api from within this callback, preferably keep to file operations or VCS apis.