Files
aibis-dream/Assets/Scripts/SceneManagement/EnvironmentKit/AbsScenePart.cs
T
2026-01-30 19:10:27 +08:00

29 lines
579 B
C#

using UnityEngine;
namespace AibisDream
{
public abstract class AbsScenePart : MonoBehaviour
{
protected TimesOfDay curTime;
protected Weather curWeather;
public abstract void Init(TimesOfDay time, Weather weather = Weather.Sunny);
public abstract void OnTimeChange(TimesOfDay time);
public abstract void OnWeatherChange(Weather weather);
}
public enum TimesOfDay
{
Day,
Evening,
Night
}
public enum Weather
{
Sunny,
Rainy,
Snowy,
Windy
}
}