This is a basic demo on how to change scenes in Unity with a button in a C# script. (it uses SceneManager.LoadScene() to do this) It demonstrates both TextMeshPro and Legacy buttons. It also shows how to add scenes to your build so you can switch between them.
If you don't need to see how it is set up but want to jump right to the code you can skip to 4:18 in the video.
Ещё видео!