SaveAssetsProcessor 保存资源处理器
SaveAssetsProcessor lets you hook into saving of serialized assets and scenes which are edited inside Unity.
SaveAssetsProcessor钩进到序列化资源保存和Unity中哪一个场景被编辑。
Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.
注意:这是一个编辑器类,如果想使用它你需要把它放到工程目录下的Assets/Editor文件夹下。编辑器类在UnityEditor命名空间下。所以当使用C#脚本时,你需要在脚本前面加上 "using UnityEditor"引用。
This lets you prevent writing of assets by Unity for integration with VCS solutions like Perforce which require locking of files.
这个可以防止资源写入,通过Unity整合像Perforce公司的VCS解决方案,需求文件锁定。
Messages Sent发送消息
-
This is called by Unity when it is about to write serialized assets or scene files to disk.
当即将写入序列化资源或场景文件到磁盘时,通过Unity调用。
最后修改:2011年7月23日 Saturday 20:32