- Home /
Question by
mgame123 · Mar 15, 2019 at 05:51 PM ·
2dspritepivot-point
How to set the same sprite pivot in code as object on scene?
I have script which copy texture from object on scene and after making changes to it makes new object with that texture. Problem is that i want to set same sprite pivot point as original sprite, but sprite.pivot returns weird cordinates. How i can acces pivot point? (like 0.5, 0.5)
Comment