N-Slicer Documentation

Next-Gen Sprite Slicing Beyond 9-Slice

N-Slicer is a complete replacement and improved version of 9-Slicing sprite slicing solution. With N-Slicer, slicing is now possible with any number of slices, not just 9. Each slice can be freely set to stretch or remain fixed, and any complex sprite can be processed with N-Slicing.

Key Features

  • Flexible Slicing: Create any number of slices beyond the traditional 9-slice method.
  • Custom Stretching: Set each slice to stretch horizontally, vertically, both, or remain fixed.
  • Complex Sprite Support: Process any type of sprite with advanced slicing capabilities.
  • UI Integration: Seamlessly works with both uGUI-based UI and regular 2D objects.
  • Easy Implementation: Simple workflow with intuitive editor interface.

Getting Started

To get started with N-Slicer, select a section from the documentation below:

N-Slice Editor
Complete guide to the N-Slice visual editor tool

Complete guide to the N-Slice visual editor tool

NSliceImage
Detailed reference for the NSliceImage UI component

Detailed reference for the NSliceImage UI component

NSliceLayoutGroup
Grid-based layout management for NSlice UI elements

Grid-based layout management for NSlice UI elements

NSliceSpriteRenderer
Detailed reference for the NSliceSpriteRenderer component

Detailed reference for the NSliceSpriteRenderer component

Quick Start
Get started quickly with NSlice

Get started quickly with NSlice

Basic Controls
Navigation and general controls of the N-Slice Editor

Navigation and general controls of the N-Slice Editor

Inspector Overview
Detailed explanation of the NSliceImage inspector

Detailed explanation of the NSliceImage inspector

Getting Started
Basic setup and initial configuration for NSliceLayoutGroup

Basic setup and initial configuration for NSliceLayoutGroup

N-Slice Data Assignment
How to assign and manage N-Slice data in NSliceSpriteRenderer

How to assign and manage N-Slice data in NSliceSpriteRenderer

Getting Started
Getting started with N-Slicer in Unity

Getting started with N-Slicer in Unity

Sprite & N-Slice Data Selection
Selecting and managing assets in the N-Slice Editor

Selecting and managing assets in the N-Slice Editor

N-Slice Data Control
Fine-tuning the N-Slice data in the NSliceImage component

Fine-tuning the N-Slice data in the NSliceImage component

Scene View Tools
Working with visual gizmos and grid display options

Working with visual gizmos and grid display options

N-Slice Data Control
Fine-tuning the N-Slice data in the NSliceSpriteRenderer component

Fine-tuning the N-Slice data in the NSliceSpriteRenderer component

Basic Usage
Learn how to use the N-Slice Editor to configure your slices

Learn how to use the N-Slice Editor to configure your slices

Grid Settings
Configuring the editor grid in the N-Slice Editor

Configuring the editor grid in the N-Slice Editor

Image Settings
Configuring image-specific properties of the NSliceImage component

Configuring image-specific properties of the NSliceImage component

Object Assignment
Managing child objects in the grid layout

Managing child objects in the grid layout

Renderer Settings
Configuring renderer-specific properties of the NSliceSpriteRenderer

Configuring renderer-specific properties of the NSliceSpriteRenderer

Application Examples
Real-world examples of using N-Slicer for complex sprites

Real-world examples of using N-Slicer for complex sprites

Axes
Working with horizontal and vertical axes in the N-Slice Editor

Working with horizontal and vertical axes in the N-Slice Editor

Debugging
Tools for troubleshooting NSliceImage components

Tools for troubleshooting NSliceImage components

Quick Actions
Shortcuts and productivity features for efficient workflow

Shortcuts and productivity features for efficient workflow

Size & Pivot
Managing object dimensions and pivot points in the NSliceSpriteRenderer

Managing object dimensions and pivot points in the NSliceSpriteRenderer

Using with 2D Objects
Learn how to use N-Slicer with regular 2D objects

Learn how to use N-Slicer with regular 2D objects

Tiles
Managing tile properties in the N-Slice Editor

Managing tile properties in the N-Slice Editor

Sorting
Controlling render order of the NSliceSpriteRenderer

Controlling render order of the NSliceSpriteRenderer

Opening the Editor
Different ways to open the N-Slice Editor

Different ways to open the N-Slice Editor

Saving
Saving and exporting your work from the N-Slice Editor

Saving and exporting your work from the N-Slice Editor

Debugging
Tools for troubleshooting NSliceSpriteRenderer issues

Tools for troubleshooting NSliceSpriteRenderer issues

Scripting Guide
How to use N-Slicer in your scripts

How to use N-Slicer in your scripts