using System.Collections; using System.Collections.Generic; using UnityEngine; public class TraficLightManager : MonoSingleton { public TraficWnd traficWnd; public bool isOpenTraficPut = false; public float traficLightTimeScale = 1f; protected override void Awake() { base.Awake(); traficWnd.Init(); } public void OpenTraficPut() { isOpenTraficPut = true; } public void ShowTraficSetPanel(TraficRoadType type,TraficLightPut put) { traficWnd.ShowTraficSetPanel(type,put); } }