private void Awake() { // PlayerPrefs.DeleteAll(); Time.timeScale = 1f; PlayerPrefs.DeleteKey(Constants.NumSelectDay); spawnDaysLevel = this; }
public void SetButtonListener(SpawnDaysLevel _spawnDaysLevel, int _numDay) { ButtonLevel.onClick.AddListener(delegate { _spawnDaysLevel.SetDayAndLoadLevel(_numDay); }); }