Question by 
               Nidza2507 · Jan 29, 2020 at 10:58 PM · 
                uicoroutineienumeratormathf.lerp  
              
 
              Weird behaviour with mathf.lerp
 void FixedUpdate()
     {
         
         if(Condition == true)
         {
             StartCoroutine("FadeTransition");
         }
 
     }
 
     IEnumerator FadeTransition()
     {
 
         canvas.alpha = Mathf.Lerp(startAlpha, 1, Delay);
         yield return null;
 
     }
 
               Here's my code, and the behaviour i'm getting is that every time that it starts it sets the value of the float to the value of the time that's specified in the mathf.lerp function (Delay variable)
               Comment
              
 
               
              Your answer