En la escena cargada
using UnityEngine.SceneManagement;
SceneManager.OnSceneLoaded += OnSceneLoaded;
void OnSceneLoaded(Scene scene, LoadSceneMode mode)
{
//do stuff
}
using UnityEngine.SceneManagement;
SceneManager.OnSceneLoaded += OnSceneLoaded;
void OnSceneLoaded(Scene scene, LoadSceneMode mode)
{
//do stuff
}
using UnityEngine.SceneManagement;
SceneManager.OnSceneLoaded += OnSceneLoaded;
void OnSceneLoaded(Scene scene, LoadSceneMode mode)
{
//do stuff
}