SpriteDrawMode

enumeration

Cambiar al Manual

Descripción

SpriteRenderer draw mode.

Enum defining the draw mode for SpriteRenderer.drawMode. This controls how to display the Sprite.

Variables

SimpleDisplays the full sprite.
SlicedThe SpriteRenderer will render the sprite as a 9-slice image where the corners will remain constant and the other sections will scale.
TiledThe SpriteRenderer will render the sprite as a 9-slice image where the corners will remain constant and the other sections will tile.