Tweaking screen transitions not to fire every time
I'm making a simple screen transition system for my game which consists of two states firing the right clips (one for the starting half od the transition animation, one for the ending one) and a condition between the end and start one which is set to true when user wants to change the level (so that the Start animation would fire in the previous animation and the End in the new one).
This is cool and all but poses two problems - firstly, the game starts with the End phase animation which looks a bit weird. Secondly, since the Restart button in the main game just reloads the level, it causes the End transition to fire every time too which looks weird and out of place.
How would I go about tweaking the Animator so that the End phase only runs when I actually change the level as opposed to when starting the game or reloading the current scene?
Your answer
Follow this Question
Related Questions
Animator in child receives float from parent but animation doesn't change when condition is met. 1 Answer
Survival shooter - Video 2 - Movement Animation Not Working 1 Answer
Animator displaying wrong states 1 Answer
Animation Running Game 0 Answers
Animator vs Animation Clip via Scripting 0 Answers