void StateMachineEnter_EndGame(Enum state, GeneralOptions options = null)
    {
        SoundBase.Instance.GetComponent <AudioSource>().PlayOneShot(SoundBase.Instance.lose);
        Debug.LogWarning(gameMode.ToString() + difficultLevel.ToString());
        int bestScore = PlayerPrefs.GetInt(gameMode.ToString() + difficultLevel.ToString());

        if (score > bestScore)
        {
            bestScore = score;
            PlayerPrefs.SetInt(gameMode.ToString() + difficultLevel.ToString(), bestScore);
        }
        mapUI.ShowLoseDialog();
    }