Hello Guest

Author Topic: Color Swapping and Editor Grid Snapping  (Read 3342 times)

corlenbelspar

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 11
    • View Profile
Color Swapping and Editor Grid Snapping
« 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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Color Swapping and Editor Grid Snapping
« Reply #1 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.