using UnityEngine; using UnityEngine.Networking; using System; using System.Collections; using ZXKFramework; using UnityEngine.UI; using System.Globalization; namespace DongWuYiXue.Main { public class TimeCheckerPanel : UIBase { public override string GroupName => "TimeCheckerPanel"; public override string Name => "TimeCheckerPanel"; TimeChecker timeChecker; public override void Init(IUIManager uictrl) { base.Init(uictrl); timeChecker = transform.FindFirst("TimeChecker"); uictrl.ShowUI(); timeChecker.actionA = () => { uictrl.CloseUI(); SetActive(false); }; timeChecker.actionB = () => { uictrl.CloseUI(); transform.FindFirst("TimeLock").gameObject.SetActive(true); }; timeChecker.actionC = () => { uictrl.CloseUI(); transform.FindFirst("NetError").gameObject.SetActive(true); }; } } }