| | |
| | | [SerializeField] Button restBtn; |
| | | [SerializeField] GameObject fightMark; |
| | | [SerializeField] ScaleTween bossTween; |
| | | [SerializeField] GameObject bossmask; //完成进度遮挡管道 纯显示 |
| | | [SerializeField] GameObject bossActiveGo; |
| | | [SerializeField] GameObject bitemeGo; |
| | | [SerializeField] Text processText; |
| | |
| | | } |
| | | } |
| | | |
| | | mainLevelScrollRect.normalizedPosition = new Vector2(waveID > 2 ? 0.95f : 0, 0); |
| | | mainLevelScrollRect.normalizedPosition = new Vector2(waveID > 3 ? 1 : 0, 0); |
| | | |
| | | var chapterConfig = MainChapterConfig.Get(chapterID); |
| | | //【普通】关卡名字1-6 |
| | |
| | | processText.SetActive(false); |
| | | bossTween.Play(); |
| | | bitemeGo.SetActive(true); |
| | | bossmask.SetActive(true); |
| | | } |
| | | else |
| | | { |
| | |
| | | processText.text = (waveID - 1) * 100 / totalWave + "%"; |
| | | bossTween.Stop(); |
| | | bitemeGo.SetActive(false); |
| | | bossmask.SetActive(false); |
| | | } |
| | | |
| | | } |