public void ChangeView(float pointsSlashPayPrice, Color openTextColor, Color closeTextColor)
    {
        smallestAlpha = 0.3f;

        levelOpener = GetComponent <LevelOpener>();
        text        = gameObject.GetComponentInChildren <Text>();
        text.text   = ChangeIntToTextKK(levelOpener.PayPrice());
        ChangeColor(pointsSlashPayPrice, openTextColor, closeTextColor);
    }
 void Start()
 {
     //thisButton = gameObject.GetComponent<Button> ();
     maxLevel       = PlayerPrefs.GetInt("MaxLevel", 1);
     playGameScript = FindObjectOfType(typeof(PlayGameScript)) as PlayGameScript;
     levelOpener    = FindObjectOfType(typeof(LevelOpener)) as LevelOpener;
     levelofButton  = int.Parse(gameObject.GetComponentInChildren <Text> ().text);
     if (maxLevel < levelofButton)
     {
         gameObject.GetComponent <Button> ().interactable  = false;
         gameObject.GetComponent <Image> ().color          = Color.black;
         gameObject.GetComponentInChildren <Text> ().color = Color.black;
     }
 }