private void SeasonEventChangedHandler(SeasonEventType seasonEvent) { seasonEventText.text = seasonEvent == SeasonEventType.None ? null : seasonEvent.ToString(); }
public SeasonEvent(SeasonEventType type, float duration, float weightedProbability) { Type = type; Duration = duration; WeightedProbability = weightedProbability; }