- Home /
Question by
Siflou · Jul 23, 2015 at 08:10 PM ·
texturespritepivotpivot-point
Set Texture SpriteMode pivot point via script
Hey Guys, so I'm doing an editor and I want to Postprocess all textures and set the spriteMode's pivot point to TopLeft via script. In the OnPostProcessTexture method of AssetImporter, I get a Texture2D which is not a Sprite and even with the sprite, we can only get the pivot. Does anybody has an idea ?
Thanks a lot for your time,
Comment
Your answer
Follow this Question
Related Questions
OnPostprocessTexture TextureImporter.spritePivot doesn't seem to work. 1 Answer
Texture Import Settings problem! 1 Answer
Get sprite pivot point in world space 0 Answers
Bad quality of the sprite in Unity 0 Answers
Anti aliasing with sprites 0 Answers