using System;
|
using System.Collections.Generic;
|
using UnityEngine;
|
using UnityEngine.UI;
|
using System.IO;
|
using System.Text;
|
using vnxbqy.UI;
|
using LitJson;
|
|
|
public class GMCommand : SingletonMonobehaviour<GMCommand>
|
|
{
|
|
public void Begin()
|
{
|
|
}
|
|
private void Update()
|
{
|
if (Input.GetKeyDown(KeyCode.F1))
|
{
|
if (!WindowCenter.Instance.IsOpen<GMInputWin>())
|
{
|
WindowCenter.Instance.Open<GMInputWin>();
|
}
|
else
|
{
|
WindowCenter.Instance.Close<GMInputWin>();
|
}
|
}
|
|
if (Input.GetKeyDown(KeyCode.F2))
|
{
|
if (!WindowCenter.Instance.IsOpen<GMCmdPanel>())
|
{
|
WindowCenter.Instance.Open<GMCmdPanel>();
|
}
|
else
|
{
|
WindowCenter.Instance.Close<GMCmdPanel>();
|
}
|
}
|
|
}
|
|
|
}
|
|