예제 #1
0
 private void Start()
 {
     weatherEvent.AddListener(OnWeatherChanged);
     timeEvent.AddListener(OnDayPassed);
 }
예제 #2
0
 private void OnEnable()
 {
     weatherEvent.AddListener(OnWeatherChanged);
     timeEvent.AddListener(OnDayPassed);
 }