Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We are updating our Terms of Service for all Unity subscription plans, effective October 13, 2022, to create a more streamlined, user-friendly set of terms. Please review them here: unity.com/legal/terms-of-service.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice
  4. Join us on Thursday, September 29, for a day with Unity's SRP teams here on the forum or on Reddit, and discuss topics around URP, HDRP, and the Scriptable Render Pipeline in general.
    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:
    32
    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