void Update() { m_cnt = Time.time - m_startTime; if (m_cnt > m_interval && m_monsterList.GetListLength() < m_monsterList.MaxMonster) { Summon(); m_startTime = Time.time; m_interval = Random.Range(m_minInterval, m_maxInterval); } }