You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
582 B
26 lines
582 B
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class TraficLightManager : MonoSingleton<TraficLightManager>
|
|
{
|
|
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);
|
|
}
|
|
}
|