// Use this for initialization
    void Start()
    {
        IsUsingSlider = false;

        _timer              = 0;
        _cameraIsShifting   = false;
        _shiftEndPosition   = new Vector3(0, 0, -10);
        _shiftStartPosition = new Vector3(0, 0, -10);

        _camera                      = Camera.main;
        _lastScoreText               = GameObject.FindGameObjectWithTag("LastScoreText").GetComponent <Text>();
        _highScoreText               = GameObject.FindGameObjectsWithTag("HighScoreText");
        _sensitivitySlider           = GameObject.FindGameObjectWithTag("SensitivitySlider").GetComponent <Slider>();
        _ballSpeedSlider             = GameObject.FindGameObjectWithTag("BallSpeedSlider").GetComponent <Slider>();
        _controlSchemeToggleButtons  = GameObject.Find("ControlSchemeToggleButtons").transform.GetComponentsInChildren <Transform>();
        _controlSchemeDemoImages     = new GameObject[4];
        _controlSchemeDemoImages[0]  = GameObject.Find("FreeScheme");
        _controlSchemeDemoImages[1]  = GameObject.Find("PreciseScheme");
        _controlSchemeDemoImages[2]  = GameObject.Find("SliderScheme");
        _controlSchemeDemoImages[3]  = GameObject.Find("TapScheme");
        _muteSoundEffectsButtonImage = GameObject.Find("MuteSoundEffectsButton").GetComponent <Image>();
        _muteMusicButtonImage        = GameObject.Find("MuteMusicButton").GetComponent <Image>();
        _socialMenus                 = GameObject.Find("SocialMenus");

        _shiftStartPosition        = new Vector3(GameVariablesScript.ScreenToStartOn * 1080, 0, -10);
        _camera.transform.position = _shiftStartPosition;

        FileServices.LoadGame();

        BackgroundMusicScript.SetBackgroundMusicMute(GameVariablesScript.MusicMuted);

        SetUiFromGameVariables();
    }
    public void ToggleMuteMusic()
    {
        GameVariablesScript.MusicMuted = !GameVariablesScript.MusicMuted;

        _muteMusicButtonImage.overrideSprite = GameVariablesScript.MusicMuted ? MusicOffImage : MusicOnImage;

        BackgroundMusicScript.SetBackgroundMusicMute(GameVariablesScript.MusicMuted);

        FileServices.SaveGame();
    }