Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

Pixel Snap!

Discussion in 'Assets and Asset Store' started by slkjdfv, May 30, 2020.

  1. slkjdfv

    slkjdfv

    Joined:
    Oct 23, 2010
    Posts:
    435
    Hello, hope this can help people out, it's been useful for my pixel art game as I needed something other than Unity's built in grid snapping tool. This snapping tool is for 2D pixel art games, you can access it under the Window/Pixel Grid menu. You supply it with the Pixels Per Unit you're using, then how big the grid is in pixels. It tells you the grids scale in units and how many objects you have selected. As an example of what this does the first image you can see that the object isn't aligned pixel perfect but in the second image it is. Screen2.png Screen1.png
     

    Attached Files:

  2. langaler

    langaler

    Joined:
    Dec 10, 2014
    Posts:
    4
    Thank you!
     
    slkjdfv likes this.
  3. embraceware

    embraceware

    Joined:
    Apr 17, 2017
    Posts:
    30
    This is such a helpful script - thanks for sharing! A must have for anyone working with pixels.
     
  4. leandroalgalord

    leandroalgalord

    Joined:
    Jan 10, 2021
    Posts:
    1
    wow this script just saved me! thank you friend, you are a friend haha years later
     
unityunity