- Home /
Question by
Digital Hermit · Dec 22, 2013 at 08:32 AM ·
2dspritecrop
How do I crop a sprite?
How do I crop a Sprite? This is not a GUI element. Been searching for this simple answer for hours but found nothing. I was not expecting such a basic function to be missing. This is a major show stopper for me. Please help!
Comment
It'd be a basic feature for an image processing application but hardly for a game engine.
Anyway, you want to do it at runtime? You could create a new, smaller texture and copy the pixels from the other one into it. But depending on what you're trying to achieve, you might be better off just using a mask.
Answer by Salim · Jul 09, 2015 at 12:54 PM
I would guess with the Sprite Editor: http://docs.unity3d.com/Manual/SpriteEditor.html