using System.Collections;
using System.Collections.Generic;
using UnityEngine;
///
/// 直接接入式电能计量装置_铭牌
///
public class Device_NamePlate : Device_Base
{
///
/// 是否检查
///
public bool isCheck;
///
/// 核对和抄录UI
///
public GameObject checkUiPrefb;
public ProcessTipPanel processTipPanel;
///
/// 核对和记录
///
public void Check()
{
if(checkUiPrefb==null)
{
checkUiPrefb = Resources.Load("UI/UI_Tip/ProcessTipPanel");
}
if(processTipPanel==null)
{
GameObject tip = Instantiate(checkUiPrefb, UIManager.Instance.canvas.transform);
processTipPanel = tip.GetComponent();
}
}
private void OnMouseDown()
{
processTipPanel.SetProcess(true);
}
}