private void OnGUI()
        {
            if (!EditorApplication.isPlaying && SceneManager.GetActiveScene().name != "Page2")
            {
                ascendingStr = "";
            }

            GUILayout.Label("Classements par ordre: " + ascendingStr, EditorStyles.boldLabel);

            if (GUILayout.Button("Croissant"))
            {
                if (EditorApplication.isPlaying && SceneManager.GetActiveScene().name == "Page2")
                {
                    RankingTable.GetInstance().SetAscendingAndUpdateRanks(true);
                }
                ascendingStr = "Croissant";
            }

            if (GUILayout.Button("Décroissant"))
            {
                if (EditorApplication.isPlaying && SceneManager.GetActiveScene().name == "Page2")
                {
                    RankingTable.GetInstance().SetAscendingAndUpdateRanks(false);
                }
                ascendingStr = "Décroissant";
            }

            EditorGUILayout.Space();

            activeMaximumScoreNumbers = EditorGUILayout.Toggle("Afficher tous les scores", activeMaximumScoreNumbers);
            if (activeMaximumScoreNumbers)
            {
                if (EditorApplication.isPlaying && SceneManager.GetActiveScene().name == "Page2")
                {
                    RankingTable.GetInstance().SetShowingAllRanks(activeMaximumScoreNumbers);
                }
            }
            else
            {
                GUILayout.Label("Nombre de scores à afficher", EditorStyles.boldLabel);
                maximumScoreNumbers         = EditorGUILayout.IntPopup("maximum", selectedMaximumScoreNumbers, maxOptionsStr, maxOptionsInt);
                selectedMaximumScoreNumbers = maximumScoreNumbers;

                if (EditorApplication.isPlaying && SceneManager.GetActiveScene().name == "Page2")
                {
                    RankingTable.GetInstance().SetShowingAllRanks(activeMaximumScoreNumbers);
                    RankingTable.GetInstance().SetMaximumScoreNumbers(maximumScoreNumbers);
                }
            }

            EditorGUILayout.Space();

            GUILayout.Label("Nombre de digits à afficher", EditorStyles.boldLabel);
            precision         = EditorGUILayout.IntPopup("Précision", selectedPrecision, digitOptionsStr, digitOptionsInt);
            selectedPrecision = precision;

            if (EditorApplication.isPlaying)
            {
                if (SceneManager.GetActiveScene().name == "Page2")
                {
                    RankingTable.GetInstance().SetPrecisionAndUpdateTables(precision);
                    //Debug.Log(SceneManager.GetActiveScene().name);
                }

                else if (SceneManager.GetActiveScene().name == "Page1")
                {
                    UnityWebRequestScript.GetInstance().SetPrecision(precision);
                    //Debug.Log(SceneManager.GetActiveScene().name);
                }
            }
        }
 private void Awake()
 {
     instancePrecision = this;
 }