public void Click() { winterMode = !winterMode; winterModePrefs = winterMode ? 1 : 0; PlayerPrefs.SetInt("WinterMode", winterModePrefs); img_checkmark.SetActive(winterMode); ChangeNode(winterMode); PathFinder.singleton.FindPathFromInputFields(); TitlePanel.Singleton().ShowWinterModeTitle(winterMode); }