Unity Cookbook
  • 2D
    • New Input System - 2D Move
    • Pixel Sprite Setup
    • Animations
    • Animator in Script
    • Tilemap
    • 2D Camera Follow Player
  • UI OnlyFans
    • 9-Splice Sprite
    • Interactible Game Objects
      • NPCs
      • Items
      • Interactible Marker
    • Dialogue System
      • Conversa Plugin
      • DiaManager.cs
      • DiaTrigger.cs
      • DiaManager.cs Alternate
      • Choices in Dialogue
    • New Input System - Interact
    • Designing the General Menu
    • New Input System - Open Menu
      • UI Buttons
      • GeneralMenu.cs
    • Controls Explanation UI
    • Items Menu
Powered by GitBook
On this page
  1. UI OnlyFans

9-Splice Sprite

Previous2D Camera Follow PlayerNextInteractible Game Objects

Last updated 1 year ago

Working File:

Make sure the sprite is set to "Full Rect." You need to open the sprite editor and click on one sprite. Then, drag the green handles to slice it. Remember to hit "Apply" in the sprite editor once you are done.

Reference Link:

https://docs.unity3d.com/Manual/9SliceSprites.html
3 Sprites