Проверка единства, если текущая сцена разгружается
//If the scene is being unloaded, this will return false
SceneManager.GetActiveScene().isLoaded
B33bo
//If the scene is being unloaded, this will return false
SceneManager.GetActiveScene().isLoaded