- Home /
Question by
tjPark · Feb 17, 2016 at 09:38 PM ·
2dspriterenderingsprite renderer
how to make SpriteRenderer visible only in bounds (2D)
I'd like to make scrollable image gallery box, not GUI but using GameObjects. Scroll is ok. I could do in some way but I don't know how to render only part of gallery images, which are only in specific bounds.(like gallery pop-up).
I found some answers related articles with Unity GUI but not for SpriteRenderers Can anybody give me a clue??
Comment
Answer by tjPark · Apr 09, 2019 at 05:58 AM
Use Sprite Masks : https://docs.unity3d.com/Manual/class-SpriteMask.html
Your answer
Follow this Question
Related Questions
Rendering using the Transparent queue 1 Answer
Sprite rendering problem 0 Answers
Making transparent sprite render as quad 1 Answer
Character sprite rendering order 4 Answers
Change a prefab's sprite in all scenes? 2 Answers