SceneFadeInOut.Update C# (CSharp) Method

Update() public method

public Update ( ) : void
return void
    void Update()
    {
        if (fadeClear)
        {
            timer += fadeSpeed * Time.deltaTime;
            FadeToClear();
        }
        if (fadeBlack)
        {
            Debug.Log(timer.ToString() + " hello");
            timer += fadeSpeed * Time.deltaTime;
            FadeToBlack();
        }
    }