AssetModificationProcessor.OnWillMoveAsset(string,string)

매뉴얼로 전환

설명

This is called by Unity when it is about to move an asset on disk.

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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961