| | |
| | | bool isLogining; |
| | | private JsonData loginData; |
| | | |
| | | private Button repairBtn;//修复 |
| | | private Button noticeBtn;//公告 |
| | | //private Button repairBtn;//修复 |
| | | //private Button noticeBtn;//公告 |
| | | private Button startBtn;//开始游戏 |
| | | private Slider progressSlider;//进度条 |
| | | |
| | |
| | | |
| | | isLogining = false; |
| | | |
| | | repairBtn = transform.Find("Panel/RepairBtn").GetComponent<Button>(); |
| | | //repairBtn = transform.Find("Panel/RepairBtn").GetComponent<Button>(); |
| | | startBtn = transform.Find("Panel/StartBtn").GetComponent<Button>(); |
| | | |
| | | versionTxt = transform.Find("Panel/Version").GetComponent<Text>(); |
| | |
| | | startBtn.onClick.AddListener(OnClickLoginBtn); |
| | | startBtn.gameObject.SetActive(true); |
| | | |
| | | repairBtn.onClick.AddListener(() => |
| | | { |
| | | OnClickResetBtn(); |
| | | }); |
| | | // repairBtn.onClick.AddListener(() => |
| | | // { |
| | | // OnClickResetBtn(); |
| | | // }); |
| | | |
| | | //transform.Find("Panel/Button (1)").GetComponent<Button>().onClick.AddListener(OnClickResetBtn); |
| | | |