public IEnumerator RockSpawn() { Debug.Log("Waiting to Spawn Ball"); yield return(new WaitForSeconds(1f)); Debug.Log("Spawning Ball"); LaunchController.SpawnRock(); yield return(new WaitForSeconds(5f)); Destroy(gameObject); }