unity how to refresh scene code example
Example 1: reload scene unity
using UnityEngine.SceneManagement;
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
Example 2: how to reload current scene unity
using UnityEngine.SceneManagement;
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);