YanCheng_Metrology/Assets/SandBox/JBQ/JBQ_Test.cs

25 lines
534 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class JBQ_Test : MonoBehaviour
{
// Update is called once per frame
void Update()
{
if (Input.GetKeyDown(KeyCode.P))
{
UIManager.Instance.ShowPanel<UI_MaskPanel>(E_UI_Layer.System, (panel) =>
{
panel.Init();
});
}
if (Input.GetKeyDown(KeyCode.L))
{
EventCenter.Instance.EventTrigger(Enum_EventType.HideMask);
}
}
}