public void RequestShotData() { if (ShotCount < s_MaxShots) { ShotDataReady?.Invoke(m_Shots[ShotCount++]); m_ScoreUpdated = false; } else { EvolutionRequest?.Invoke(); } }
public void RequestShotData() { ShotCount++; if (m_Evolve) { m_Evolve = !m_Evolve; EvolutionRequest?.Invoke(); } else { m_Evolve = !m_Evolve; ShotDataReady?.Invoke(m_ShotData); } }