animations for pause menu

Code Example - animations for pause menu

                
                        //use unscaled time for the animator update mode
//for Coroutines, use WaitForSecondsRealtime
//example
yield return new WaitForSecondsRealtime(0.05f);