1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Off-Topic

Unity Auto-Gridsnap Script [Tips]

  • Sjonsson
  • April 23, 2013 at 8:08 AM
  • Sjonsson
    • April 23, 2013 at 8:08 AM
    • #1

    If anyone here works in Unity you might find this script very useful. Put the attached script anywhere in your unity project folder and open your scene. Then press "Ctrl + L" this will open a menu for auto-grid snapping, in this window you can set to how many units you want your translated object to snap to.

    If you would point-snap something it would move there as always but right after it would snap to the grid again. If you work a lot in unity this is a warm recommendation from me.


    Compared to the native Unity grid snap you do not need to press a button, the selected object will always snap to the grid.

    AutoSnap.zip

  • Kinky
    • April 23, 2013 at 12:53 PM
    • #2

    Thanks for this.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Custom Gamemodes Contest

    Angel
    July 20, 2026 at 11:46 AM
  2. FAQ

    Angel
    July 20, 2026 at 10:14 AM
  3. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  4. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  5. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  6. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  7. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  8. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  9. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  10. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™