protected override void OnOpen(IUIData uiData = null) { mData.start_time = Time.time; Start.onClick.AddListener(() => { mData.run_count++; mData.start_run_time = Time.time; mData.order_count = holder.m_order_list.Count; GameMode1Manager.Instance.Excuter.StartExcute(); }); Reset.onClick.AddListener(() => { GameMode1Manager.Instance.Excuter.ResetExcuter(); }); Quit.onClick.AddListener(() => { GameMode1Manager.Instance.QuitStage(); }); holder = transform.GetComponentInChildren <OrderHolder>(); }
private void BindUI() { form = (UIMain)UIKit.GetPanel("UIMain"); holder = form.GetComponentInChildren <OrderHolder>(); }