Sur la scène chargée
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
}