the initial commit to the repo.

This commit is contained in:
NukedBart 2025-10-25 01:27:14 +08:00
parent 025c032b8c
commit 1b757591b9
264 changed files with 21882 additions and 0 deletions

View file

@ -0,0 +1,38 @@
using EFT.UI;
using EFT.Weather;
using UnityEngine;
namespace stupid.solutions.Features;
public class EZWeatherController : MonoBehaviour
{
public static WeatherController _weatherController;
private static ToDController _toDController;
private void Update()
{
}
public static void Initialize()
{
_weatherController = WeatherController.Instance;
_toDController = _weatherController?.TimeOfDayController;
if (_weatherController == null)
{
ConsoleScreen.LogError("WeatherController not found!");
}
if (_toDController == null)
{
ConsoleScreen.LogError("TimeOfDayController not found!");
}
}
public static void EnsureInitialized()
{
if (_weatherController == null || _toDController == null)
{
Initialize();
}
}
}