Files
aibis-dream/Assets/Scripts/SceneManagement/EnvironmentKit/AbsScenePart.cs
T
2025-06-08 23:46:23 +08:00

28 lines
564 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
}
}