public void ShowCurWaveMaster() { List <int> entityIds = this.curWaveDicEntitys[LevelManager.singleton.curWaveIndex]; if (entityIds.Count > 0) { List <int> random = UnityTool.RandomList <int>(entityIds); for (int i = 0; i < random.Count; i++) { int entityId = random[i]; if (this.dicCreateEntitys.ContainsKey(entityId)) { EntityParent entity = this.dicCreateEntitys[entityId]; this.ShowEntity(entity); } else { Debug.Log("没有改Entity:" + entityId); } } } }