Question by
MobinYaqoob · Aug 01, 2016 at 08:16 PM ·
meshsprite2d game
Visible specific area of mesh or sprite by Touch
I have a sprite:
**1.There are two sprites sprite 1 and sprite 2.
2.Lets sprite 2 is at top of sprite 1
3.Sprite 2 is hidden
4.When your touch the mobile screen the only part of that area of sprite in visible.
5.the complete sprite is visible on multiple touches by the user.**
untitled3.png
(13.5 kB)
Comment
What you need is a sprite mask. While there are external tools (plugins) that can do this, we also have a masking feature in our preview of the new 2D tools: http://blogs.unity3d.com/2016/06/13/2d-experimental-preview/
Your answer
Follow this Question
Related Questions
How to partially change texture? 0 Answers
Glowing 2D items 0 Answers
Meshes appears very dark than expectation 0 Answers
How do I animate a 2D weapon? 0 Answers
Dynamic Batching for SpritesRender 2 Answers