huge change, new desig wip

This commit is contained in:
xpeng
2022-10-03 02:04:54 +02:00
parent fcf30caedc
commit a01f6c9152
159 changed files with 29969 additions and 28626 deletions
@@ -0,0 +1,21 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LightSettingManager : MonoBehaviour
{
public List<GameObject> Lights;
void Start()
{
ConfigManager.onConfigChanged += ApplyConfig;
ConfigManager.EnsureInitialization();
ApplyConfig();
}
void ApplyConfig()
{
foreach (var light in Lights)
{
light.SetActive(ConfigManager.config.useLight);
}
}
}