public void ContinueOnClick()
 {
     if (!clicked)
     {
         clicked = true;
         PlayerPrefs.SetInt("loadState", 0);
         fs.SetFadingIn(false, 0.0f, "");
     }
 }
 private void OnMouseDown()
 {
     if (!isLoading)
     {
         fs.SetFadingIn(false, 0.0f, "");
         isLoading = true;
     }
 }
    // Use this for initialization
    void Start()
    {
        fs = fade.GetComponent <FadeScript>();
        fs.SetFadingIn(true, 0.0f, "");

        continueButton.SetActive(false);
        loader = new DataLoader();
        SaveFormat save = loader.GetSave();

        if (save != null)
        {
            if (save.day != 0 || save.level != 0)
            {
                continueButton.SetActive(true);
            }
        }
    }
 // Use this for initialization
 void Start()
 {
     fs = fade.GetComponent <FadeScript>();
     fs.SetFadingIn(true, 0.0f, "");
 }