| | |
| | | |
| | | if (GameConfig.IsNewbie) |
| | | { |
| | | if (EndlessUIStart.instance.beginDragStep && SpawnedTotalEnemies >= 3) |
| | | if (EndlessUIStart.instance.beginDragStep && SpawnedTotalEnemies >= 5) |
| | | { |
| | | //Debug.Log("这里本来要做一大波敌人的,现在注释掉"); |
| | | |
| | | EndlessUIStart.instance.beginDragStep = false; |
| | | EndlessLevelManager.instance.StopSecondWave(); |
| | | } |
| | | else if (EndlessUIStart.instance.guideThirdWaveStep) |
| | | else if (EndlessUIStart.instance.guideFourthWaveStep) |
| | | { |
| | | //Debug.Log($"当前波次是木属性的 总怪物数量:{TotalEnemies} 当前已经生成了:{SpawnedTotalEnemies * 2}"); |
| | | if (TotalEnemies - (SpawnedTotalEnemies * 2) <= 0) |
| | |
| | | IEnumerator BroadCastCreateThirdWaveDone() |
| | | { |
| | | yield return new WaitForSeconds(0.5f); |
| | | EndlessUIStart.instance.guideThirdWaveStep = false; |
| | | EventCenter.Ins.BroadCast((int)KTGMGemClient.EventType.CreateThirdWaveDone); |
| | | EndlessUIStart.instance.guideFourthWaveStep = false; |
| | | EventCenter.Ins.BroadCast((int)KTGMGemClient.EventType.CreateFourthWaveDone); |
| | | } |
| | | |
| | | /// <summary> |