I’ve been testing a few Java scripts for playing animations when my player enters a triggered area, but I had too much problems creating at my own.
What I need is a script that whenever my player enters a triggered area, I want at least 2 animations to play at the same time and also an Audio Source (otherwise known as a sound FX)
Here’s what I mean with those two animations:
- Making GameObject’s rotating and moving
- GUI transition (Fade effect)
Both of my animations are ready, just need a function in order to activate them. If you guys have a good way to solve this question, post them below! I would appreciate it
Thanks!