Skip to content

thepowerprocess/UnitySpritePivotEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UnitySpritePivotEditor

Easily edits a 2D Sprite while maintaining it's world position, including its children objects

example

How to use

  1. Download SpritePivotEditor.cs
  2. Place in an Editor folder in project

How to use

  1. Select a gameobject with a SpriteRenderer and a Sprite set
  2. Go to Tools > Set Sprite Pivot
  3. Then in the scene editor, click where you want the pivot to be set
  4. (optional) in the window that opens, you can uncheck if you want it to not automatically set new local positions for the object and its children to maintain world positions.

Note: It helps to visualize the pivot point by making sure the Tool Hande Position is set to Pivot instead of Center. image

About

Easily edits a 2D Sprite while maintaining its position

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages