AndroidBuildSubtarget Manual     Reference     Scripting  
Scripting > Editor Enumerations > AndroidBuildSubtarget
AndroidBuildSubtarget Enumeration

Target Android build platform.

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.

See Also: EditorUserBuildSettings.androidBuildSubtarget.

Values
Generic

Don't override texture compression.

DXT

S3 texture compression, nonspecific to DXT variant. Supported on devices running Nvidia Tegra2 platform, including Motorala Xoom, Motorola Atrix, Droid Bionic, and others.

PVRTC

PowerVR texture compression. Available in devices running PowerVR SGX530/540 GPU, such as Motorola DROID series; Samsung Galaxy S, Nexus S, and Galaxy Tab; and others.

ATC

ATI texture compression. Available on devices running Adreno GPU, including HTC Nexus One, Droid Incredible, EVO, and others.

ETC

ETC1 texture compression (or RGBA16 for textures with alpha), supported by all devices.