9-Slicing Sprites in Unity: How and Why to Do It

Опубликовано: 03 Октябрь 2024
на канале: Unity Videos (Julien Lynge)
19,709
294

How to use Unity's built-in 9-slice utility via the Sprite Editor, and what this help you accomplish.


9-slicing sprites is used primarily for UIs and 2D games. It allows you to stretch a sprite without deforming the corners, and also allows you to tile the center of a sprite while keeping the outer edges untiled.


For more documentation on 9-slicing, check out the Unity Manual: https://docs.unity3d.com/Manual/9Slic...