Events API

OnHourChangeEvent

Sets an event for the OnHourChangeEvent that can call functions each hour.

UniStorm.UniStormSystem.Instance.OnHourChangeEvent.AddListener(() => YourFunctionEvent());

OnDayChangeEvent

Sets an event for the OnDayChangeEvent that can call functions each day.

UniStorm.UniStormSystem.Instance.OnDayChangeEvent.AddListener(() => YourFunctionEvent());

OnMonthChangeEvent

Sets an event for the OnMonthChangeEvent that can call functions each month

UniStorm.UniStormSystem.Instance.OnMonthChangeEvent.AddListener(() => YourFunctionEvent());

OnYearChangeEvent

Sets an event for the OnYearChangeEvent that can call functions each year

UniStorm.UniStormSystem.Instance.OnYearChangeEvent.AddListener(() => YourFunctionEvent());

OnWeatherChangeEvent

Sets an event for the OnWeatherChangeEvent that can call functions each time the weather changes

UniStorm.UniStormSystem.Instance.OnWeatherChangeEvent.AddListener(() => YourFunctionEvent());

Last updated