how to SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex); in unity 2020 code example
Example: unity scenemanager loadscene
using UnityEngine;
using UnityEngine.SceneManagement;
public class ExampleClass : MonoBehaviour
{
void Start()
{
SceneManager.LoadScene("OtherSceneName", LoadSceneMode.Additive);
}
}