em cena carregada
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
}