Version: Unity 6.1 (6000.1)
LanguageEnglish
  • C#

SliceType

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The slice type determines whether the center of the image is scaled or tiled.

Properties

Property Description
Sliced Fill the slices by stretching the center and sides.
Tiled Fill 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.