private void CheckBattleOver() { Debug.Log("Allies : " + allyCount + ", Ennemies : " + ennemyCount); if (allyCount <= 0) { Quit.DoQuit(); } if (ennemyCount <= 0) { SceneManager.LoadScene(GlobalContext.precSceneName); } }