Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TextureImporter.qualifiesForSpritePacking

var qualifiesForSpritePacking: bool;
bool qualifiesForSpritePacking;
qualifiesForSpritePacking as bool

Description

Returns true if this TextureImporter is setup for Sprite packing.

If it returns true, texture is imported uncompressed for Sprite packing.