9 Sliced Sprite Objects

Because we were creating a tile based environment for our game, and because moving around several thousand tiles did not appeal to me or my team, I started work on some tools to aid in level design and production.
The first of the tools was a an object capable of selecting the correct sprite from a 9 sliced tile set based solely upon its neighboring tiles. Simplistically,you set up a tile, then continue to duplicate and move your objects and they automatically link together respecting the 9-sliced format. This was eventually superseded by other components and as such I don’t have a screenshot of the interface, however, it was essentially selecting from a List<Sprite> based upon surrounding tiles found with a Physics2D.BoxCast and the same layermask.

I also created a simple editor class that would clamp the position of any object to one aligned with a game grid of our choosing rather than relying on the ctrl key and snap settings. The object had a simple slider interface to constrol snapping division and based upon that value, it will lock to 1, 1/2, 1/4 and 1/8th of the unity grid.