Переглядів 1,531
✅ In this video I will show how I made such a fade-out panel effect through code, using my PopIt game as an example. It is activated when the player has clicked on the VIP skin, but has not yet purchased the VIP status. Therefore, you need to show the player that such skins are available with this status. You can implement this mechanic for your personal tasks. You may have noticed such an effect in some popular games, for example, in Klondike, when you click on some inactive object, the text pops up with a smooth disappearance and movement up. I only have a disappearance implementation. But when you watch the video to the end, you will be able to implement movement in any direction according to the same logic. Some will probably ask right away, why bother like that, if you can just make a simple animation and run it when you click. Yes, that's the right question, but the answer is just that. First - I wanted to try something new, Second - you can control the animation through numbers, and not go and change the animation. And in general, you can write everything in the code quite flexibly. Third, perhaps some of you have never done animation in Unity before. In general, do not judge strictly, I just decided to try to implement such a task and I share the solution with you.
😇 Ohayo, you guys are in the Raybel universe. On my channel I teach everything that I can myself in the field of computer graphics and game development.
⚠️ My drink game: play.google.com/store/apps/de...
⚠️ Link to video review: • Создал КАЙФ-ИГРУ про P...
📝 Time codes:
00:00 Introduction
01:19 Intro
01:29 Lyrics
01:46 About tasks
02:46 Code (C #)
06:17 Working with the inspector and tests
06:48 End
🤔 For communication:
Telegram: @raybelgames
VK: raybelgames
E-mail: raybel.games@gmail.com
UKposts: Raybel - Synergy CG
😇 Support:
Patreon - / raybel
VK - raybelgames
Track: Cartoon x Time To Talk - Omen (Ft. Asena) [NCS10 Release]
Music provided by NoCopyrightSounds.
Watch: • Cartoon, Jéja, Time To...
Free Download / Stream: ncs.io/Omen
#UI #Unity #Effects