Sprite Shatter
Battenberg Software
$5.00
Date |
Price |
---|---|
日期和时间 |
价钱($) |
03/19(2018) |
5.0 |
11/15(2024) |
5.0 |
Jump AssetStore
Full instructions can be found here!Sprite Shatter provides a quick and easy way to make your 2D sprites shatter into numerous configurable pieces. Using the simple user interface in the Unity editor, any game object with an associated sprite renderer can be shattered into any number of pieces using varying patterns, with the pieces created as separate game objects at run-time. A single method call then shatters the sprite. Sprite Shatter uses the source sprite’s original texture – it does not create a copy so the memory overhead is low. It has support for circle, box and polygon colliders for the shattered pieces, the accuracy of which can be configured. Sprite Shatter comes will full source code and full prefab support. An example scene has been provided which is ready to go – simply load this scene in Unity, click play and from there you can left-click to view Sprite Shatter in action and right-click to reset. FeaturesSprites can be shattered using a grid, hexagonal or radial layout into regular or randomly irregular shapes of any size.A zigzag feature can be applied to grid-style shatter pieces to give them jagged edges.Sprites can be shattered and reset repeatedly at run-time with a single method call.Transparent areas of the image are ignored so no unnecessary game objects are created.Optional colliders can be added and automatically sized, and can be box, circle or polygon with their accuracy configurable.Full source code and instructions (instructions.pdf is included with the asset or you can view the instructions here) are provided.Full support for prefabs.