Fade in

hello! I started work in the unity, and I made main menu. I can’t make the fade in when “Start button” is pressed.
Code:

public void PlayPressed()
    {
        SceneManager.LoadScene("level1");
    }

version 2019.4.6

How it is this related to 2D graphics? This is more like a UI or a general scripting question.

Anyway, there exists already several tutorials and articles about how to create fade out or fade in. Simply google and you’ll find examples.

Usually you can get away with a coroutine where you animated color of a screen covering UI element from transparent to opaque or vice versa.

thank you!