Skip to content

9-slicing sprite by sprite borders

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

hanilozmen/Unity-9-Patch-Slicer

 
 

Repository files navigation

Unity 9 Patch Slicing Based on Sprite Borders

Information

Generates smaller sized png images. In this way, you can decrease app size and memory usage.

Setup

Import As Package

You can import packages using Unity Import Package. You can find versions in Build folder

Note: Use Crunch Compression should be disabled for the source sprite.

Description

Configure source image sprite borders first

Apply slice operation

Congrats !! Before And After

There are two slice operations: replace enabled & disabled. Important: If you perform with replace enabled, your original image will be overriden.

Note: If you don't use replace, you may apply the following procedures.

In order to not losing sprite references:

1- Move newly generated sprite outside of your Unity Project

2-Remove Old Sprite, make new sprite name same with the removed one.

3- Import new sprite to the same folder by dragging in Unity Editor.

Future Releases

I am planning to add new features to this package in the future.

Original GitHub Pages: https://github.com/kyubuns/Auto9Slicer , https://github.com/pshutov/OnionRing-Unity

Release Notes

CHANGELOG (see CHANGELOG)

License

MIT License (see LICENSE)

About

9-slicing sprite by sprite borders

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%