public void LanguageButtonClick()
 {
     UtilityManeger.isEnglish = !UtilityManeger.isEnglish;
     UtilityManeger.SaveLanguage();
     soundController.ButtonClick();
     if (UtilityManeger.isEnglish)
     {
         languageButtonImage.sprite = languageButtonSprites[0];
     }
     else
     {
         languageButtonImage.sprite = languageButtonSprites[1];
     }
 }
 public void SoundButtonClick()
 {
     UtilityManeger.isSound = !UtilityManeger.isSound;
     UtilityManeger.SaveSound();
     if (UtilityManeger.isSound)
     {
         soundController.OnPlay();
         soundButtonImage.sprite = soundSprites[1];
     }
     else
     {
         soundController.OnMute();
         soundButtonImage.sprite = soundSprites[0];
     }
 }
    public void WinPanelPopUpOpen()
    {
        soundController.WinSound();
        if (UtilityManeger.currentStep > UtilityManeger.highestStep)
        {
            UtilityManeger.highestStep = UtilityManeger.currentStep;
            UtilityManeger.SaveHighestScore();
        }

        if (UtilityManeger.isEnglish)
        {
            totalStepText.text   = "Total Step : " + UtilityManeger.currentStep;
            highestStepText.text = "Top Step : " + UtilityManeger.highestStep;
        }
        else
        {
            totalStepText.text   = "মোট ধাপ : " + WordCoverterIntegerToString(UtilityManeger.currentStep);
            highestStepText.text = "সর্বাধিক ধাপ : " + WordCoverterIntegerToString(UtilityManeger.highestStep);
        }
        winPanelPopup.SetActive(true);
    }
    public void NextButtonClick()
    {
        soundController.ButtonClick();
        UtilityManeger.currentLevel++;
        if (UtilityManeger.currentLevel == UtilityManeger.levelTotal)
        {
            UtilityManeger.currentLevel = 0;
        }

        UtilityManeger.SaveCurrentLevel();

        UtilityManeger.unlockLevel++;
        if (UtilityManeger.unlockLevel > UtilityManeger.levelTotal)
        {
            UtilityManeger.unlockLevel = UtilityManeger.levelTotal;
        }

        UtilityManeger.SaveUnlockLevel();

        SceneManager.LoadScene(1);
    }
 // Use this for initialization
 void Start()
 {
     UtilityManeger.InitData();
     Init();
 }