예제 #1
0
        /// <summary>
        /// 配置よりボスを生成
        /// </summary>
        private void GeneratBoss()
        {
            EnemySetting setting = gameManager.EnemySetting.BossSetting;

            for (int i = 0; i < setting.ids.Length; i++)
            {
                int id = setting.ids[i];
                if (id < 0)
                {
                    continue;
                }

                Vector3 bossPosition = map.BossPoint(i);
                characterManager.AddCharacterBossScene(characterManager.Enemys()[id].Clone(bossPosition));
            }
        }