2D Toolkit Forum

2D Toolkit => Support => Topic started by: corlenbelspar on May 07, 2015, 01:40:37 am

Title: Color Swapping and Editor Grid Snapping
Post by: corlenbelspar on May 07, 2015, 01:40:37 am
Hi I have one more question that I can't figure out an answer to after exhaustive searching and trying different things.  That should be all I have to bug you guys with for a while.   :P

1. How do I get a specific color from a sprite and change it to another specific color?
2. How do I make sprites snap to the grid in the Unity editor so like enemies will be standing on the ground when they are created and such?

Much appreciated for your answers in advance.
Title: Re: Color Swapping and Editor Grid Snapping
Post by: unikronsoftware on May 11, 2015, 12:38:13 am
1. You can't. This isn't a good idea on textures / sprites, its just really really slow.

2. There isn't any functionality like this out of the box - 2D Toolkit just uses built in unity functionality for positioning. There are a few assets on the asset store that will do this though.