ドキュメント

Unity Engine

Unity Engine

SetIsVariant(bool)

Sets whether this Sprite Atlas is a Variant or not.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public void SetIsVariant(bool value)

Parameters

value

Remarks

A Variant does not repack a new Texture from the packable list. Instead, it duplicates the Master Atlas's packed Texture and downscale it by the SetVariantMultiplier and saves this scaled Texture. Additional Resources: SpriteAtlasExtensions.SetMasterAtlas.