using System.Collections; using System.Collections.Generic; using UnityEngine; public class BuShuState : GameState { public override void OnGameStateEnter() { GameRoot.Instance.menuWindow.gameObject.SetActive(true); GameRoot.Instance.infoWindow.gameObject.SetActive(true); GameRoot.Instance.infoWindow.miniMap.SetActive(true); } public override void OnGameStateExit() { GameRoot.Instance.menuWindow.gameObject.SetActive(false); GameRoot.Instance.infoWindow.gameObject.SetActive(false); GameRoot.Instance.infoWindow.miniMap.SetActive(false); } public override void OnGameStateUpdate() { } public override void ResetState() { } }