Comment exécuter du code sans unité de jeu
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterSceneLoad)]
// Make sure you remove the "MonoBehaviour"
Bonus
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterSceneLoad)]
// Make sure you remove the "MonoBehaviour"