TextureImporter 纹理导入器

Inherits from AssetImporter

Texture importer lets you modify Texture2D import settings from editor scripts.

TextureImporter让你从编辑器脚本修改Texture2D导入设置。

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"引用。

Settings of this class match the ones exposed in Texture Import Settings.

这个类的设置匹配暴露在Texture Import检视面板中的设置。

Variables变量

Functions函数

Inherited members继承成员

Inherited Variables继承变量

Inherited Functions继承函数

Inherited Class Functions继承类函数

Page last updated: 2011-5-27