Перезагрузить сцену единство
using UnityEngine.SceneManagement;
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
Yawning Yak
using UnityEngine.SceneManagement;
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
using UnityEngine.SceneManagement;
//Put this in whenever you want to load a scene
SceneManager.LoadScene("Scene name");
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
using UnityEngine.SceneManagement;
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);
using UnityEngine.SceneManagement;
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);
SceneManager.LoadScene(SceneManager.GetActiveScene());