This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Unity editor script to precisely move, rotate and scale GameObjects on 2D scenes, using the arrow keys. | |
Notes: | |
- To use it just include it on an "Assets/Editor" folder on your project. | |
- The action depends on the selected tool and the size of the movement depends on the Scene view zoom. | |
- The more "zoomed in" is the scene view the smaller is the movement step. | |
- It will work when the current Scene tab is in 2D mode and there is at least one gameObject selected, | |
otherwise the scene camera will move as usual :) |