| | |
| | | GameObject go = Instantiate(Resources.Load<GameObject>("UI/Final/FinalPanel"), GameObject.Find("UICamera/BottomCanvas").transform); |
| | | FinalPanel panelUI = go.GetComponent<FinalPanel>(); |
| | | panelUI.SetData($"{EndlessLevelManager.instance.CurrentLevel}关 {EndlessLevelManager.instance.WaveManager.CurrentWaveIndex}波", EndlessScoreData.CurrentSocre); |
| | | panelUI.SetPlayEffectAC(PlayEffect); |
| | | //panelUI.SetPlayEffectAC(PlayEffect); |
| | | //GameObject.Find("UICamera/BottomCanvas").GetComponent<Canvas>().enabled = false; |
| | | |
| | | EndlessUIStart.instance.GameOver(); |