Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ScriptablePacker.PackTransform

Indicates if the Sprite is rotated when packed to SpriteAtlas.
Read time 1 minuteLast updated 6 days ago

Definition

public enum ScriptablePacker.PackTransform

Fields

Value

Description

FlipHorizontalSprite is flipped horizontally when packed to SpriteAtlas.
FlipVerticalSprite is flipped vertically when packed to SpriteAtlas.
NoneSprite is not rotated when packed to SpriteAtlas.
Rotate180Sprite is rotated 180 degrees when packed to SpriteAtlas.