AssetPostprocessor 资源处理器

AssetPostprocessor lets you hook into the import pipeline and run scripts prior or after importing assets.

AssetPostprocessor让你钩进导入管线,在运行脚本之前或导入资源之后。

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 way you can override default values in the import settings or modify the imported data like textures or meshes.

这样你可以在导入的设置中重载默认值或修改导入的数据,如纹理或网格。

Variables变量

Functions函数

Messages Sent发送消息

最后修改:2011年7月23日 Saturday 20:31

本脚本参考基于Unity 3.4.1f5

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