Version: 2021.1
public TextureImporterShape textureShape ;

描述

The shape of the imported texture.

The default value is Texture2D. The texture can also be imported as a Cubemap, Texture2DArray or a Texture3D.

See Also: TextureImporterShape, Texture Assets.