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的子集,被写入的文件。

Page last updated: 2011-6-27