10006_YanCheng_Metrology/Assets/Scripts/ComputerSystem/UI_ComputerSystemHomePagePa...

36 lines
1004 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UI_ComputerSystemHomePagePanel : UI_ComputerSystemBasePanel
{
public override void ShowMe()
{
base.ShowMe();
if (GameManager.RunModelMgr.ModeType == E_ModeType.Study)
{
//GameManager.UIMgr.imageTips.ShowTips(GetControl<Button>("loginBtn").GetComponent<RectTransform>());
}
}
/// <summary>
/// °´Å¥µã»÷
/// </summary>
/// <param name="btnName"></param>
protected override void OnClick(string btnName)
{
switch (btnName)
{
case "closeBtn":
GameManager.UIMgr.HidePanel<UI_ComputerSystemHomePagePanel>();
break;
case "loginBtn":
GameManager.UIMgr.HidePanel<UI_ComputerSystemHomePagePanel>();
GameManager.UIMgr.ShowPanel<UI_ComputerSystemJLZXJCPanel>();
break;
}
}
}