public void StartGame() { StopAllCoroutines(); m_PressEnter.enabled = false; InvokeRepeating("IncreaseSpikeSpeed", 0, 1); StartCoroutine(m_ItemSpawner.SpawnSpike()); StartCoroutine(m_ItemSpawner.SpawnItem()); m_hasStarted = true; InvokeRepeating("Timer", 1, 1); }