protected virtual void BulletUpdate() { this.bulletCountFrame++; var nowBullet = GetBullet(); if (nowBullet != null) { if (nowBullet.IsCreate(this.bulletCountFrame)) { var bullet = nowBullet.Bullet; BulletManager.Instance.CreateToBullet(bullet, rect, type.ToString()); this.bulletCountFrame = 0; } } }
private List <CharPartyData> m_ListEnemyParty = new List <CharPartyData>(); //에너미 파티용 데이터 public void Init(int iMapIndex, int iBlockIndex, CHARACTER_TYPE eType) { m_iMapIndex = iMapIndex; //에너미 인덱스 숫자 m_iBlockIndex = iBlockIndex; m_eType = eType; //파티 데이터만 셋팅 try { string Route = "Excel/MapData/" + m_iMapIndex + "/" + m_iBlockIndex + "_" + eType.ToString(); var EnemyTable = EXCEL.ExcelLoad.Read(Route); for (int i = 0; i < EnemyTable.Count; i++) { Route = "Excel/EnemyClass/" + EnemyTable[i][CHARACTER_DATA.CHAR_CLASS_TYPE.ToString()]; var EnemyClass = EXCEL.ExcelLoad.Read(Route); PartyDataSetting(i, EnemyTable, EnemyClass); } //에너미 데이터 셋팅 Debug.Log("Enemy Data Setting"); } catch { Debug.Log("Enemy Data Setting Error"); } }