文档

Unity Engine

Unity Engine

SliceType

The slice type determines whether the center of the image is scaled or tiled.
阅读时间1 分钟最后更新于 2 天前

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.