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