Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SliceType

The slice type determines whether the center of the image is scaled or tiled.
Read time 1 minuteLast updated 11 days ago

Definition

public enum SliceType

Fields

Value

Description

SlicedFill the slices by stretching the center and sides.
TiledFill the slices by tiling the center and sides. Image must be imported as a Sprite (2D and UI) and have Mesh Type set to Full Rect.