Search Unity

Animation bug when switching game states

Discussion in 'Animation' started by guilhermolv, Mar 18, 2019.

  1. guilhermolv

    guilhermolv

    Joined:
    Jun 13, 2015
    Posts:
    1
    I have an endless runner game on unity with a video panel that slides out when triggered by different things in the game. The video panel animation slides the panel from the side plays the video then slides the panel hidden from view again. The issue is when the panel is still open and the game is paused then returned to the main menu. This causes the video panel texture to then appear on screen next time you play the game. When the video panel is then triggered the texture disappears the panel slides out like normal, plays the video then slides back for a second then the panel texture appears again. Any ideas on how I could resolve this issue?
    Game1.png
    Game2.png