/// <summary>
 /// Updates the shader used for Fading
 /// </summary>
 /// <param name="value">A value between 0 and 1</param>
 private void UpdateShader(float value)
 {
     screenFader.SetValue(value);
     if (Math.Abs(value) < float.Epsilon)
     {
         Fading = false;
     }
     else if (Math.Abs(value - 1) < float.Epsilon)
     {
         Fading = false;
         screenFader.enabled = false;
     }
     else
     {
         Fading = true;
     }
 }