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.

46 lines
1.1 KiB

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TaFangState : GameState
{
public override void OnGameStateEnter()
{
GameRoot.Instance.menuWindow.gameObject.SetActive(true);
GameRoot.Instance.infoWindow.gameObject.SetActive(true);
GameRoot.Instance.gameModeWindow.SetTaFangModeActive(true);
GameRoot.Instance.menuWindow.CameraMovePanel.SetActive(true);
GameRoot.Instance.GameStateTxt.text = "塌方巡检与预警";
GameRoot.Instance.gameModeWindow.publicUIWnd.SetActive(true);
}
public override void OnGameStateExit()
{
GameRoot.Instance.infoWindow.gameObject.SetActive(false);
GameRoot.Instance.menuWindow.gameObject.SetActive(false);
GameRoot.Instance.gameModeWindow.SetTaFangModeActive(false);
GameRoot.Instance.menuWindow.CameraMovePanel.SetActive(false);
GameRoot.Instance.gameModeWindow.publicUIWnd.SetActive(false);
}
public override void OnGameStateUpdate()
{
}
public override void ResetState()
{
}
}