SaveAssetsProcessor.OnWillSaveAssets 当即将保持资源

function OnWillSaveAssets (paths : string[]) :

Description描述

This is called by Unity when it is about to write serialized assets or scene files to disk.

当即将写入序列化资源或场景文件到磁盘时,通过Unity调用。

If it is implemented, it allows you to override which files are written by returning an array containing a subset of the pathnames which have been passed by Unity.

如果得以实施,允许覆盖那个由返回一个数组已传递给Untiy,包含pathnames的子集,被写入的文件。

最后修改:2011年6月27日 Monday 15:29

本脚本参考基于Unity 3.4.1f5

英文部分版权属©Unity公司所有,中文部分© Unity圣典 版权所有,未经许可,严禁转载 。