Sprite Slicer is a Unity package that allows you to quickly and easily cut any physics-enabled sprite into smaller pieces. This package is designed to work with both Unity and 2D Toolkit sprites, and provides simple static script functions to slice sprites along a given line or explode them into multiple parts. It supports both concave and convex polygons, and is optimized to preserve dynamic batching and reduce draw calls. You can also restrict slices to specific sprites using LayerMasks. The package includes full C# source code and an example scene.
Works on both Unity and 2D Toolkit sprites. Supports slicing along a given line, exploding into multiple parts, concave and convex polygons. Optimized for dynamic batching and draw call reduction. Supports 2D box, circle, and polygon colliders. LayerMasks for restricting slices to specific sprites.
