Tap to animate billboard fullscreen then back to original size
Hello Lens community!
I've been trying for several days to find a way to animate a billboard with an event "Tap" that animate the billboard in full screen and when we "Tap" again, it would return to its original size. But I can't figure it out :'(
Actually I would like to make a lens with like 8 billboard, with each one be a camera output with different post effect or 3D object, but can't find a way to simply add this fullscreen animation to be toogle by a tap!
Hope youguys can help me with this :)
Thanks a lot!!!
Hi, Mrtolien!
For this purpose I would suggest using Screen Image and TweenScreenTransform script.
To handle a Tap on an image please be sure to add Touch Component
I added a simple script to control Tweens
Here is an example project and a setup screenshot:
Let me know if there are any questions!
Best!
Olha
Hey Olha!
Thanks a lot! That's exactly what I was looking for!
Best!