Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetIsVariant(SpriteAtlas, bool)

Sets whether this Sprite Atlas is a variant or not.
Read time 1 minuteLast updated 11 days ago

Definition

public static void SetIsVariant(this SpriteAtlas spriteAtlas, bool value)

Parameters

spriteAtlas


value

Remarks

A Variant will not repack a new texture from the packable list. Instead, it will duplicate the master's packed texture and downscale it according to SetVariantMultiplier and save this scaled texture.