|
@@ -288,7 +288,7 @@ public class EnemyCreater : MonoBehaviour
|
|
|
{
|
|
{
|
|
|
SingleEnemyConfig cfgEnemy = GameManager.instance.allCfgData.CfgEnemy.Get(enemyId);
|
|
SingleEnemyConfig cfgEnemy = GameManager.instance.allCfgData.CfgEnemy.Get(enemyId);
|
|
|
GameObject enemyObj = Util.Instantiate(cfgEnemy.EnemyPrefab, pos);
|
|
GameObject enemyObj = Util.Instantiate(cfgEnemy.EnemyPrefab, pos);
|
|
|
- if (enemyId > 1000)
|
|
|
|
|
|
|
+ if (enemyId > 30000)
|
|
|
{
|
|
{
|
|
|
Boss boss = enemyObj.GetComponentInChildren<Boss>();
|
|
Boss boss = enemyObj.GetComponentInChildren<Boss>();
|
|
|
}
|
|
}
|