public void SwitchLevelScript(int sceneIndex)
    {
        switch (sceneIndex)
        {
        case 1:
            Level_one levelScript = GetComponent <Level_one>();
            quests = levelScript.GetQuests();
            break;

        case 2:
            // Console.WriteLine("Case 2");
            break;

        case 4:
            //  Console.WriteLine("Case 2");
            break;

        case 5:
            //  Console.WriteLine("Case 2");
            break;

        case 6:
            //  Console.WriteLine("Case 2");
            break;

        default:
            print("Default case");
            break;
        }
    }
    public void SwitchLevelScript(int sceneIndex)
    {
        switch (sceneIndex)
        {
        case 1:
            Level_one levelScript = FindObjectOfType <Level_one>();
            levelScript.CollectGem();

            break;

        case 2:
            // Console.WriteLine("Case 2");
            break;

        case 4:
            //  Console.WriteLine("Case 2");
            break;

        case 5:
            //  Console.WriteLine("Case 2");
            break;

        case 6:
            //  Console.WriteLine("Case 2");
            break;

        default:
            print("Default case");
            break;
        }
    }