Quick Start
Getting started with N-Slicer in Unity
Quick Start
UI
- N-Slicer can be used with both uGUI-based UI and regular 2D objects.
- Let's start by using it in UI.
Creating NSliceImage
- NSliceImage is similar to the Image component in uGUI.
- Create an NSliceImage by
right-clicking
in the hierarchy window ->UI
->Image - N-Slice
.


- The inspector window of the created object looks like this:

- You can input an N-Slice Data object into the N-Slice Data field, or if you don't have any N-Slice Data yet, you can create one by clicking the Create New button below. Since we don't have any N-Slice Data yet, let's create one by clicking Create New.
- When you click the Create New button, a screen for creating a Sprite will be displayed. Find and click on the desired sprite in this screen. (Note: The sprite must have its Texture Type set to "Sprite (2D and UI)" and Sprite Mode set to "Single".)

On This Page