10 lines
280 B
C#
10 lines
280 B
C#
using UnityEngine;
|
|
|
|
public class EclipseWeather : MonoBehaviour
|
|
{
|
|
private void OnEnable()
|
|
{
|
|
RoundManager.Instance.minOutsideEnemiesToSpawn = TimeOfDay.Instance.currentWeatherVariable;
|
|
RoundManager.Instance.minEnemiesToSpawn = TimeOfDay.Instance.currentWeatherVariable;
|
|
}
|
|
}
|